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
Are there any set of rules for the names of the steps used in a job? What are they?
How can values be passed from the job stream to an executable program?
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.
in ways data can be passed to a COBOL program from JCL?
Is it possible to left uncode disp?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Explain how can the attributes of one sms dataset be copied to another dataset?
Can we use DISP=SHR in output file in JCL
whats the diff bw the evaluate also and and?
what is the purpose of coding notify parameter in job statement?
What is the function of job statement in jcl?
Is condition checking possible in jcl?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
how to run batch program without jcl?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?