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
What are the difference between jcl and jes?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Explain the function of dd name parameter with a 2 part structure; audit.report?
How can a stopped job be started again?
How to do automated restart when a job abend?
whats the diff bw the evaluate also and and?
Suppose I have five jobs to do. But I want to hold one?
What does a disposition of (MOD,DELETE,DELETE) mean ?
what is the purpose of coding class parameter in job statement?
What is the function of a dd statement?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
what is the JCL statement consists of?
what operation is performed by job statement?