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 » Sample Utilities on z/OS MQ

Post new topic  Reply to topic
 Sample Utilities on z/OS MQ « View previous topic :: View next topic » 
Author Message
Sam Uppu
PostPosted: Tue Mar 31, 2009 10:24 am    Post subject: Sample Utilities on z/OS MQ Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Hi Guys,
I am looking for sample utilities provided by IBM on z/os MQ like we have amqsput/ amqsget etc in distributed environments.

Thanks.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Tue Mar 31, 2009 10:33 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Look in hlq.SCSQASMS (for assembler samples) hlq.SCSQCOBS (for COBOL samples).

And there are some Support packs

MA10 - Browse a queue and a dead letter browser.
MO03 - Q program

immediately spring to mind too.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 31, 2009 10:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

csqutil?
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Mar 31, 2009 10:45 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

mqjeff wrote:
csqutil?


Not sure whether CSQUTIL can be used as a sample program to PUT/GET a msg onto a queue.

Need to check the CSQUTIL program's features.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 31, 2009 11:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Sam Uppu wrote:
mqjeff wrote:
csqutil?


Not sure whether CSQUTIL can be used as a sample program to PUT/GET a msg onto a queue.

Need to check the CSQUTIL program's features.


CSQUTIL is more like runmqsc, though it does have additional features. It's certainly not a sample.

Check out the specified libs for actual samples.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JoePanjang
PostPosted: Tue Mar 31, 2009 6:38 pm    Post subject: Reply with quote

Voyager

Joined: 10 Jul 2002
Posts: 88
Location: Dengkil MALAYSIA

PUTMSGS EXEC PGM=CSQ4BCK1
GETMSGS EXEC PGM=CSQ4BCJ1
CSQ4BCG1- Destructive get
CSQ4BCG0- Browse Equivalent


_________________
Every good deed is charity...
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Wed Apr 01, 2009 11:35 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

JoePanjang wrote:
PUTMSGS EXEC PGM=CSQ4BCK1
GETMSGS EXEC PGM=CSQ4BCJ1
CSQ4BCG1- Destructive get
CSQ4BCG0- Browse Equivalent



What is teh difference between

GETMSGS EXEC PGM=CSQ4BCJ1
CSQ4BCG1- Destructive get

Destructive get removes the message from a queue and
Quote:
GETMSGS EXEC PGM=CSQ4BCJ1
is a kind of browse?.

Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 01, 2009 11:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

It's all about how the samples are compiled. Check out the z/OS documentation, remembering that the sample code for z/OS is linked twice; once for batch, once for CICS.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Sample Utilities on z/OS MQ
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.