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


Please Help Members By Posting Answers For Below Questions

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

800


what is use of dcb parameter in dd statement?

775


How does the jcl specify the job to os?

696


Must tape dataset definitions include vol=ser specifications?

983


Where can program checkpoints be stored for use in a restart?

851






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?

821


What is the function of //cntl statement?

831


Explain the function of the dd dcb keyword?

706


Explain the function of //jcllib statement?

708


Is it possible to code instream data in a PROC?

753


Explain how can the attributes of one sms dataset be copied to another dataset?

706


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

584


What happens if both JOBLIB & STEPLIB is specified ?

612


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

721


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?

834