If there are five steps in a JCL i have to execute the 3rd
step, bypass the 4th step and execute the 5th step how do i
do this?

Answer Posted / rudolf

This jcl is the correct answer, this is used to run a batch
job in production environment.
*** if the JCL will run step3 and step5 condcode is 0
while step4 condcode is flush means it will not run.

//jobname jobcardxx
// xxxxx
// xxxxx
// xxxxx
//..
//..
//step3 exec pgm=xxx,cond=(4,lt)
//....
//....
//step4 exec pgm=xxx,cond=(0,le)
//....
//....
//step5 exec pgm=xxx,cond=(4,lt)
//....
//....


RUDOLF M. AQUINO
SYSTEM PROGRAMMER(MAINFRAME)
UNITED COCONUT PLANTERS BANK
MAKATI CITY

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What dd statement is used to supply the name of a dataset?

779


What are the 2 types of parameters in dd statement?

652


what are JCLLIB and STEPLIB in JCL?

675


Is condition checking possible in jcl?

722


What are the difference between jcl and jes?

1050






WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1039


What do you understand by the terms: joblib and steplib?

626


What do you know about jcl?

649


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.

1732


What parameters can be used to limit the number of records written to a sysout dataset?

750


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

803


What parameter of the job statement is used to limit the cpu time consumed by the job?

840


Brief description of inline procedure of jcl.

687


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

7601


What do you understand by jcl?

628