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


Please Help Members By Posting Answers For Below Questions

What statement can be used to send data to another mvs jes3 node?

830


What is catelog procedure and how many catelog procedure to use in one job?

7466


How does jcl specify the job to the operating system?

755


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

750


What are the parameters that are used in creating a gdg?

742






How is a type of file defined in the jcl that executes the cobol program?

716


how do you code a null statement?

780


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

820


which parameter is used to check the syntax of a jcl without executing it?

802


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.

1738


what sort card you will use to copy the data from one dataset to another dataset?

734


How is the record format of an output dataset specified?

747


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

673


Name a few IBM utility programs, and explain its function.

4440


How can the disposition of sysout datasets be set for an entire jobstream?

845