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 » Mainframe, CICS, TXSeries » MQ CMD from z/OS to UNIX

Post new topic  Reply to topic
 MQ CMD from z/OS to UNIX « View previous topic :: View next topic » 
Author Message
Twilight
PostPosted: Thu Feb 21, 2008 1:07 pm    Post subject: MQ CMD from z/OS to UNIX Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 21, 2008 1:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Twilight
PostPosted: Thu Feb 21, 2008 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 21, 2008 1:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 21, 2008 3:21 pm    Post subject: Re: MQ CMD from z/OS to UNIX Reply with quote

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
View user's profile Send private message Send e-mail
zpat
PostPosted: Thu Feb 21, 2008 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Feb 22, 2008 2:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Twilight
PostPosted: Fri Feb 22, 2008 7:22 am    Post subject: Reply with quote

Apprentice

Joined: 04 Aug 2004
Posts: 49

Thanks, folks.
I'll try with PCF format.

_________________
WMQ/WMQI/WBI Consultant
Toronto, Canada
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » MQ CMD from z/OS to UNIX
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.