Search found 5 matches

by Ramy
Tue Feb 07, 2012 10:59 pm
Forum: JCL
Topic: Executing JCL iterating through all members in a PDS
Replies: 8
Views: 11548

Hi Ramy, can you explain whether your Requirement is to run all the jobs or running based on RC of previous job.. Rexx code can do better for this requirement.. Check for your requiremnet in REXX Section.. If you i not get the answer start a new post in REXX section. <Reply> Hi Nicc, My requirement...
by Ramy
Tue Feb 07, 2012 10:56 pm
Forum: JCL
Topic: Executing JCL iterating through all members in a PDS
Replies: 8
Views: 11548

JCL is a) site specific for things such as various jobcard parameters and sysout classes to be used and b) dependent on the program being executed and its requirements - datasets, space etc. As a result we cannot really give you assistance beyond saying - look at jobs that work in your installation...
by Ramy
Sat Feb 04, 2012 2:59 pm
Forum: JCL
Topic: Executing JCL iterating through all members in a PDS
Replies: 8
Views: 11548

My first thought would be to setup the initial member name in an INCLUDEd library and use SET to make the member name a variable, i.e. where the library member "MEM" is a SET statement: // SET MEM='MEM1' and then is included in the job //JOB1 JOB 'IBM',CLASS=A,NOTIFY=&SYSUID // JCLLIB ORDER=... (if...
by Ramy
Sat Feb 04, 2012 1:59 pm
Forum: JCL
Topic: Executing JCL iterating through all members in a PDS
Replies: 8
Views: 11548

Anything which could be implemented effectively helps. Could you please help me with REXX code for this?
by Ramy
Fri Feb 03, 2012 11:29 pm
Forum: JCL
Topic: Executing JCL iterating through all members in a PDS
Replies: 8
Views: 11548

Executing JCL iterating through all members in a PDS

Hi There, I require a favour on the below idea, Requirement Description: I would like to run a JCL which runs by iterating through all the members in the PDS given. For Example: JCL: //JOB1 JOB 'IBM',CLASS=A,NOTIFY=&SYSUID //STEP1 EXEC PGM1 //COBOL.SYSIN DD DISP=SHR,DSN=SAMPLE.PDS(MEM1) //COBOL.SYSO...