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

How to pass dynamic values in JCL


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gopu503

New User


Joined: 06 Sep 2011
Posts: 1
Location: Bangalore

PostPosted: Fri Sep 30, 2011 6:29 pm
Reply with quote

I'm developing a job to do PUT enable/disable queues from ZOS. I'm doing through CSQUTIL and it is executing properly.

I wanted to get queue manager, queue name and put enable/disable information from user dynamically and use in my SYSIN.

Can anyone please guide me to do dynamically.


Code:
//CSQUTIL  EXEC PGM=CSQUTIL,PARM='?'     
//*                                         
//SYSPRINT DD SYSOUT=*                       
//SYSUDUMP DD SYSOUT=*                       
//*                                         
//SYSIN    DD *                             
COMMAND DDNAME(CMDPUT)                       
/*                                           
//CMDPUT   DD *                             
 ALTER QLOCAL(quue name ?) PUT(ENABLED ?)         
//*     


edited to get rid of the sickening color and use the code tags
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1787
Location: Bloomington, IL

PostPosted: Fri Sep 30, 2011 7:27 pm
Reply with quote

So: are you thinking of a command line interface (CLI) or an ISPF dialog?
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri Sep 30, 2011 10:45 pm
Reply with quote

There are multiple ways...

1: Create ISPF Panel to accept whatever values and generate JOB by putting accepted parameters, Submit to JOB REXX.
(I am not sure how familiar you are with REXX and ISPF though)

2: create one dataset which will hold these values(possibly in DFSORT SYMNAME format)
and use DFSORT step to create desired job.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts count contained values of several col... DB2 5
No new posts Any way to prevent dynamic allocation? DFSORT/ICETOOL 6
No new posts Is this possible via sort (in one pass)? SYNCSORT 4
No new posts how to eliminate null indicator value... DB2 7
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
Search our Forums:


Back to Top