How do you skip a particular step in a proc/JOB?
Answer Posted / nikhil
To skip a particular step use Conditon in EXEC statement
If the condition is true then step will be bypassed.
Ex
//stepname EXEC PGM=xyz,COND(4,LT).
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
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.
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
Explain the function of job statement in jcl?
how you will the direct the data to spool using sysout option?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Name what parameter directs the output of the job log dataset?
Give the syntax of job specifying jcl statement.
What are the difference between jcl and jes?
how JCL works?
Explain the function of //jcllib statement?
Explain the jcl exec statement?
which parameter is used to check the syntax of a jcl without executing it?
What is concatenating?
How jcl is used for testing batch programs?
What is job control language?