ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQSC Commands from OS/390 Batch to Remote Unix Queuemanagers

Post new topic  Reply to topic
 MQSC Commands from OS/390 Batch to Remote Unix Queuemanagers « View previous topic :: View next topic » 
Author Message
jmeckard
PostPosted: Thu Oct 03, 2002 5:07 am    Post subject: MQSC Commands from OS/390 Batch to Remote Unix Queuemanagers Reply with quote

Newbie

Joined: 03 Oct 2002
Posts: 6

I would like to send MQSC Commands from an OS/390 Batch Job to multiple Remote Unix Queuemanagers and view the reply messages on a file or sysprint. In CSQUTIL I can do this nicely from OS/390 to OS/390, but not from OS/390 to Unix.

Is there a simple way how I could accomplish this ?

Any help would be appreciated.

Thanks
Jean-Marc
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Sun Oct 06, 2002 11:26 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

OS/390 manager uses plain text for commands, but Unix and all others require PCF format
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Mon Oct 07, 2002 3:24 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

You have to write a program issuning these commands as PCF-commands, not plain vanilla but managable, it's easier to decode the answer backs because it's stuctured, but the requstes is difficult because of the syntax.

There are a sample in the manual, written in C. You should take a look on the homepage of IBM-supportpacks, I guess there are a few there, there are even a program here in the repository on MQSeries.Net.

just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jmeckard
PostPosted: Mon Oct 07, 2002 10:29 pm    Post subject: Reply with quote

Newbie

Joined: 03 Oct 2002
Posts: 6

Thanks for the info. So I dont get around using PCF Commands. On the other hand I wonder how the runmqsc on th unix platform works. It acceppts mqsc commands. So the conversion from mqsc to PCF would be in there.
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Tue Oct 08, 2002 1:46 pm    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

I think you're right, I would like to have the parser code from runmqsc because it's usefull for other parsing senarios aswell.

runmqsc is also available on the other "small" platforms.

Just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Lassic
PostPosted: Mon May 29, 2006 6:23 am    Post subject: runmqsc to PCF command parser Reply with quote

Newbie

Joined: 29 May 2006
Posts: 4

It's been quite a while since 2002...
Has anyone seen a runmqsc to PCF command parser since? (prefer java)

Thanks,

Ori
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 29, 2006 2:56 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Have you checked out support pack MS0B
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Lassic
PostPosted: Mon May 29, 2006 11:43 pm    Post subject: Reply with quote

Newbie

Joined: 29 May 2006
Posts: 4

Yes I did.
But unless I missed it, I did not see a way to take a runmqsc command string such as "display qmgr" and translate that into the appropriate PCFMessage instance (other than writing such a parser myself of course).

Did I miss such a parser in the support pack?

Thanks,

Ori
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon May 29, 2006 11:56 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Look at the "escape(d) text" PCF command.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Lassic
PostPosted: Tue May 30, 2006 12:27 am    Post subject: Reply with quote

Newbie

Joined: 29 May 2006
Posts: 4

That's excellent. Thanks for the quick replies
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 30, 2006 4:53 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, to be clear, to the best of my knowledge runmqsc does not use PCF commands. So having the source of it would not be very helpful, except in a general way as "here is an official implementation of a parser for MQSC commands".

I think the M072 support pack may be more helpful (although less "official"). But it also looks like Paul hasn't updated it to v6 yet... And oops , Paul doesn't include source!

But, really, MQSC should be very straight forward to parse in any language. It's very well structured.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Lassic
PostPosted: Tue May 30, 2006 5:15 am    Post subject: Reply with quote

Newbie

Joined: 29 May 2006
Posts: 4

Cool, thanks for the additional comments.

Another question:
When using the escape(d) text PCF command - Does the PCF security\permissions mechanism hold as usual PCF?

I know that for runmqsc we needed an admin user and there was no way to control authorization of this program.

I'm trying to use PCF now to avoid that problem but still be able to use scripts that use the runmqsc syntax (hence the escape(d) text implementation).

Am I making any sense?
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue May 30, 2006 9:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

jefflowrey wrote:
But, really, MQSC should be very straight forward to parse in any language. It's very well structured.

yep... Did it in MQDocument, but beware, there are some quirks in the output when long names, or variables are used
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQSC Commands from OS/390 Batch to Remote Unix Queuemanagers
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.