In Job, there are 10 steps. If I want to execute the first 6
steps and don't want to execute from 7th to 10th step. What
is the solution for this ?
Answers were Sorted based on User's Feedback
Answer / satyanarayana
execute the steps till 6th step and in the 7 the step we
need to give the positive conditin like COND = (0 LE)which
is always true. so all the steps from 7 th step will be
bypassed.
thanks
satya
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / aishwarya
Just give a null statement after 6th step like // Any line
after null statement in jcl will not be executed. Hence
remaining steps will be skiped from 7 to 10. Simple
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / sivakumar sekharannair
me to belevive that answer 3 is the perfect answer
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / piyush mani
All answers r ok but most efficient way 2 do this is to use null indicator after 6th step.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / kamaldeep
Answer given by Satyanarayana(ans#1) if we use COND=(0.LE) in a step then only that step will be bypassed not all the steps after it. I have tried it, please try and revert back.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajesh kumar.t
1.use COND par for each step.
2.comment the STEP7-10.
| Is This Answer Correct ? | 3 Yes | 4 No |
I have one GDG. Everyday One new version is being created.Now I want to split this created version in different files each having 1000 records. Here Problem is I don't know How many records will be there in new version of GDG? that's why I don't know How many Out files we need to use . Interesting??????????????
Explain about Specifying compiler options in the PROCESS (CBL) statement
what are JCLLIB and STEPLIB in JCL?
What is the use of DUMMY statement in the JCL? What is the use of DUMMY Utility in the JCL?
What is COND=EVEN ?
Explain about LMFREE�free data set from its association with data ID
Explain about LMINIT - generate a data ID for a data set
wht is step lib n job lib ? where can we code joblib n steplib ?
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
How jcl is used for testing batch programs?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
when GDG version number get changed ? bcz always Generations only increasing.