|
View previous topic :: View next topic
|
| Author |
Message |
gopu503
New User
Joined: 06 Sep 2011 Posts: 1 Location: Bangalore
|
|
|
|
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 |
|
 |
Akatsukami
Global Moderator

Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
| So: are you thinking of a command line interface (CLI) or an ISPF dialog? |
|
| Back to top |
|
 |
Escapa
Senior Member

Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
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 |
|
 |
|
|