How can we execute only one step in a job
Answer Posted / suresh
Hi,
This can be achieved by two ways.
1. As Sravanthi mentioned - A null (/*) statement at the
end of this step can be given for running this step alone.
2. By using COND parameter in the second step. Like
//STEP2 EXEC PGM=EXAMPLE,COND=(0,LE,STEP1)
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can an individual step be restricted from using all the jobs allowed cpu time?
What dd statement is used to supply the name of a dataset?
How can an in-stream dataset be terminated?
what is the resolution for sb37 error
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
What are steplib and joblib?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What are s0c1, s0c4, s0c5, s0c7 and socb?
I need exexution process for JCL programs
when can a job time-out occur? How to overcome that?
In sms datasets, what is the function of the dd mgmtclas keyword?
Are there any set of rules for the names of the steps used in a job?
what sort card you will use to copy the data from one dataset to another dataset?
Explain how can an in-stream dataset be terminated?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?