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

What are the difference between jcl and jes?

1317


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1005


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?

932


What is jcl in mainframe, and how many types of jcl statements are there for a job?

912


Explain the function of dd name parameter with a 2 part structure; audit.report?

1225


How can a stopped job be started again?

923


How to do automated restart when a job abend?

1045


whats the diff bw the evaluate also and and?

2083


Suppose I have five jobs to do. But I want to hold one?

883


What does a disposition of (MOD,DELETE,DELETE) mean ?

882


what is the purpose of coding class parameter in job statement?

997


What is the function of a dd statement?

939


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.

2217


what is the JCL statement consists of?

915


what operation is performed by job statement?

865