i have 6 steps in my jcl program
after going to 5th step i want to execute 3rd step.....how can
i do it....by using(RESTART) can i do it or not?
Answers were Sorted based on User's Feedback
Answer / harsha
Use DPRTY parameter. With this parameter, we can change the
order of execution of each steps but we cannot skip the
execution.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / muttaiah
What i understand from question is
After executing 4th step you want to execute 3rd step.
In JCL.
We can execute steps only sequentially meaning steps mentioned in the job has to be executed in the way they are.
So as far as my knowledge this is impossible.
one way is if the job execution is stopped after 4th step. you can then execute from any step using restart.
Is This Answer Correct ? | 2 Yes | 1 No |
What is a Dummy Utility and what it does ?
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?
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
7 Answers Cognizant, IBM, IGT,
WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
Which COND paramter will u use to execute the step only if the previous step does not execute
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?
what is a null indicator in db2?
What are the difference between jcl and jes?
Max generations in GDG??
What are the parameter we cannot use in procedure?