I had 100 steps in jcl i want to execute first 10 steps only?
Answer Posted / albert n
If the JCL is not submitted by TSO/ISPF where automatic
generation of a JOB card is normal, you simply add a card
to the deck that has only //. This signals to the JCL
conversion that the jobstream had ended.
e.g
//STEP1 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP2 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP3 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP4 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP5 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP6 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP7 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP8 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP9 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP10 EXEC PGM=....
//.... DD DISP=...,DSN=...
// <- END of job signal to JCL conversion
//STEP11 EXEC PGM=.... From here down is ignored
//.... DD DISP=...,DSN=...
//STEP12 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP13 EXEC PGM=....
//.... DD DISP=...,DSN=...
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What statement can be used to send data to another mvs jes3 node?
What is catelog procedure and how many catelog procedure to use in one job?
How does jcl specify the job to the operating system?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What are the parameters that are used in creating a gdg?
How is a type of file defined in the jcl that executes the cobol program?
how do you code a null statement?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
which parameter is used to check the syntax of a jcl without executing it?
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.
what sort card you will use to copy the data from one dataset to another dataset?
How is the record format of an output dataset specified?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Name a few IBM utility programs, and explain its function.
How can the disposition of sysout datasets be set for an entire jobstream?