Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> Java & MQSeries
View previous topic :: :: View next topic  
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

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us