i have 10 steps in jcl program but i have to exicute only
2,4,6,8th and 10th ?how it's possible?
Answer Posted / druks
It , depends on you having the JCL in a proc or are running it instream (simpler option) , you can delete the steps you do not require and run job'
Proc : in the EXEC JCL
Job statement put a RESTART Parm ,
in the EXEC JCL .
//stepa exec procname,cond=(1111,ne,stepxxx),cond=(1111,ne,stepxx1)
stepxxx ,stepxx1 step you want to exclude
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
How to submit jcl through a cobol program?
Why block size is multiple of lrecl in jcl?
How is a type of file defined in the jcl that executes the cobol program?
Name a few IBM utility programs, and explain its function.
How to override loadlib?
How can the disposition of sysout datasets be set for an entire jobstream?
Is condition checking possible in jcl?
how you can direct the data to spool using SYSOUT option?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
Explain the purpose of the dd keylen parameter?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Can I share my data with other jobs? How?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
how to run batch program without jcl?
what is DD statement is used in JCL?