Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
To run mq commands through batch jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
arnabgiri

New User


Joined: 16 Jul 2008
Posts: 1
Location: KOLKATA

PostPosted: Fri Jul 18, 2008 9:38 pm    Post subject: To run mq commands through batch jcl
Reply with quote

Hi,

i want to run mq commands through batch jcl.
As for examples:

ALTER QLOCAL(Queue Name) TRIGGER.


Can any body help me out by giving me example jcl..
Back to top
View user's profile Send private message
References
Bill Dennis

Senior Member


Joined: 17 Aug 2007
Posts: 313
Location: Iowa, USA

PostPosted: Fri Jul 18, 2008 9:50 pm    Post subject:
Reply with quote

Use CSQUTIL in batch:
Code:
//PRODSTEP EXEC PGM=CSQUTIL,PARM='qmgr'         <===== QMGR ?????
//SYSPRINT DD SYSOUT=*                                           
//STEPLIB  DD any steplibs?         
//SYSIN    DD *                                                   
COMMAND DDNAME(CMDGET)                                           
/*                                                               
//CMDGET   DD *                                                   
 ALTER QLOCAL(Q_NAME_HERE               ) GET(ENABLED)             
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1