How do You skip a Step In JCL?

Answer Posted / kalpana dwivedi

It is true that step can be skip using condition parameter
but COND=(0,LE) is not correct, as Cond parameter works on
reverse logic.

It should be COND=(0,GE) or (4096,LE)

That means step will not run if return code of previus step
is Greater than equal to zero or if the condition code of
previous step is less than equal to 4096.

Is This Answer Correct ?    13 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

1736


what is the purpose of coding class parameter in job statement?

726


Can an individual step be restricted from using all the jobs allowed cpu time?

1011


Explain dd statement in jcl?

645


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1754






What methodology can be adapted to transfer data to a program that is coded using the exec statement?

614


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

940


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

626


What is Cataloged Procedures?

715


When output dataset space is required, what quantity categories are used?

834


How gdg are concatenated?

672


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

697


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

731


what operation is performed by job statement?

663


Is it possible to code instream data in a PROC?

754