Author |
Message
|
Twilight |
Posted: Thu Feb 21, 2008 1:07 pm Post subject: MQ CMD from z/OS to UNIX |
|
|
 Apprentice
Joined: 04 Aug 2004 Posts: 49
|
I sent a 'DISPLAY QUEUE' to Unix 'SYSTEM.ADMIN.COMMAND.QUEUE' via
remote queue from z/OS MQ V6.0.
But I got returned some garbage which is not REPORT format to read.
I used MQMD as below:
MQMT_REQUEST
MQFMT_ADMIN
Any idea or sample I can find ? IBM has MA10 but it is Mainframe use only.
Thanks. Steve  _________________ WMQ/WMQI/WBI Consultant
Toronto, Canada |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Feb 21, 2008 1:13 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you MQFMT_STR?
Did you MQGMO_CONVERT?
Did you MQMT_REQUEST? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Twilight |
Posted: Thu Feb 21, 2008 1:33 pm Post subject: |
|
|
 Apprentice
Joined: 04 Aug 2004 Posts: 49
|
Did you MQFMT_STR? <== rather use MQFMT_ADMIN, because I got error
from it.
Did you MQGMO_CONVERT? <== yes
Did you MQMT_REQUEST? <== yes
It may not compatible to send a command to different system or rather PCF to do it ?
thanks. _________________ WMQ/WMQI/WBI Consultant
Toronto, Canada |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Feb 21, 2008 1:37 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Wait.
I'm really not clear what you're trying to do.
Are you trying to send a PCF message TO a Unix box FROM a MF?
Or are you trying to send a Plain Text message TO a MF box FROM a Unix box? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 21, 2008 3:21 pm Post subject: Re: MQ CMD from z/OS to UNIX |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Twilight wrote: |
I sent a 'DISPLAY QUEUE' to Unix 'SYSTEM.ADMIN.COMMAND.QUEUE' via
remote queue from z/OS MQ V6.0.
But I got returned some garbage which is not REPORT format to read.
I used MQMD as below:
MQMT_REQUEST
MQFMT_ADMIN
Any idea or sample I can find ? IBM has MA10 but it is Mainframe use only.
Thanks. Steve  |
Your message needs to be in PCF format.
Distributed qmgrs only accept PCF on the command queue.
Java exemples are available with support pack MS0B
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
zpat |
Posted: Thu Feb 21, 2008 11:30 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Rather than try to use mainframe commands on UNIX, you can now use PCF messages on all platforms (with MQ V6).
The sighs of relief from the various MQ admin developers is almost audible! |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Feb 22, 2008 2:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
zpat wrote: |
The sighs of relief from the various MQ admin developers is almost audible! |
zOS does not support the full set of PCF messages.
An example is the PCF Escape message. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Twilight |
Posted: Fri Feb 22, 2008 7:22 am Post subject: |
|
|
 Apprentice
Joined: 04 Aug 2004 Posts: 49
|
Thanks, folks.
I'll try with PCF format.
 _________________ WMQ/WMQI/WBI Consultant
Toronto, Canada |
|
Back to top |
|
 |
|