Suppose i have 2 steps in my pgm. Step1- creates a file,
Step2 - generates report from file in step1, What changes
have to be made in Step2, so that if the file in Step1 is
empty Step2 should not be executed? No changes to be made to
Step1.
Answer Posted / reader
when we are creating the file in step-1 then obviuosly the
file will be empty only..then why we need to check the
condition and skip the step..directly we can put COND=
(4,Lt) parameter and we can skip the step-2...
correct me if im wrong...
Is This Answer Correct ? | 5 Yes | 14 No |
Post New Answer View All Answers
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
what is use of dcb parameter in dd statement?
How does the jcl specify the job to os?
Must tape dataset definitions include vol=ser specifications?
Where can program checkpoints be stored for use in a restart?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
What is the function of //cntl statement?
Explain the function of the dd dcb keyword?
Explain the function of //jcllib statement?
Is it possible to code instream data in a PROC?
Explain how can the attributes of one sms dataset be copied to another dataset?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What happens if both JOBLIB & STEPLIB is specified ?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?