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 ??

Answers were Sorted based on User's Feedback



In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd ...

Answer / sv

One can either use UT22000 utility to pass the Date else in
program also Date utility can be called and generated.

Is This Answer Correct ?    0 Yes 1 No

In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd ...

Answer / animesh

that can be done in jcl using some utility likkje jhsidate

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

What is S322 abend ?

5 Answers  


which statement is used to end the in-stream procedure in a jcl?

1 Answers   IBM,


what is the difference between perform varying and perform

1 Answers  


Where & How Do You Code Identifier In Jcl?

0 Answers   IBM,


In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step

1 Answers  






How to skip first step of a job? Can we use COND on the first step?

3 Answers   iNautix,


if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?

4 Answers  


Is it possiable to use a gdg in the INCLUDE statement in a SORT jcl? I am using this because I want to change the condition with out changing the jcl. Please provide with a sample code.

1 Answers  


What are the common keyword parameters in both job and exec statements

4 Answers   Cap Gemini,


What are the 2 types of parameters in dd statement?

0 Answers  


//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?

2 Answers   CCS, CTS,


is there any way to execute more than one proc in the same exec statement at the same time..?

0 Answers  


Categories