I have a JCL which 20 steps. How do I execute 17 th step
alone (It should execute only 17ths tep.and it should not
execute 18,19,20 steps??

Answer Posted / david

1. In job card type restart=step17 and type // followed by spaces after the 17th Step.
2. Use IEBEDIT

JCL interview questions
https://youtu.be/VE6cTuFpsXc
https://youtu.be/bExB_Tjp9A4

COBOL interview questions:
https://youtu.be/_O6gPk6jjLE
https://youtu.be/pQumm7ueYik

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can a stopped job be started again?

636


what is the difference between JES3 and JES2?

676


In job processing, what happens in conversion stage?

734


How jcl work to handle various input output file operations?

656


What are steplib and joblib? What for they are used?

689






My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1982


How jcl is used for testing batch programs?

717


How to pass data to a program that is coded in an exec statement?

820


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

778


How does jcl act on a cobol code?

655


Explain how can values be passed from the job stream to an executable program?

615


What parameter directs the output of the job log dataset?

763


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

940


What is the purpose of dd?

724


define cond parameter in jcl?

771