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

What parameter directs the output of the job log dataset?

765


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

712


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

829


What is concatenating?

635


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 ?

944






1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7081


Is their any set of rules for dd? Explain.

660


What is one line to pass PARM from JCL to COBOL?

717


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

923


what is the use of IEBGENER utility?

658


What are the 2 types of parameters in dd statement?

648


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

709


In job processing, what happens in execution stage?

698


what are JCLLIB and STEPLIB in JCL?

675


What is the function of a dd statement?

706