IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To run mq commands through batch jcl


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Batch install term/printer CICS 2
No new posts File Aid Batch IBM Tools 7
Search our Forums:

Back to Top