In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd .
Where do you generate the date ??in cobol or JCL ??
Answer Posted / animesh
that can be done in jcl using some utility likkje jhsidate
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
List the different components of jcl statement?
How does jcl act on code(if you take a cobol program)?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
For what purpose steplib and joblib are used ?
what is use of space parameter in dd statement?
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 are the parameter we cannot use in procedure? How many instream we can write in single jcl?
what is the purpose of coding class parameter in job statement?
what are the various stages of job processing?
Explain how can values be passed from the job stream to an executable program?
Explain how can return codes be tested before execution of a job step?
Explain the function of dd disp parameter?
How can the attributes of one sms dataset be copied to another dataset?