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 |
Explain about LMOPEN -
Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!
how do u send return code from cobol to jcl ?
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
If there are five steps in a JCL i have to execute the 3rd step, bypass the 4th step and execute the 5th step how do i do this?
13 Answers Cognizant, Convergys, IBM, TCS, Wipro,
In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?
What is the meaning of the following declaration : DCB=BLKSIZE=, What is the difference between above declaration & not specifying DCB at all for a output file?
Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?
please could u tell me the difference between SORT, SYNCSORT,CA-SORT, DFSORT,
hi friends........if u know syntax of IEBEDIT IN JCL
How do you submit JCL via a Cobol program?