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 |
Explain the function of the steplib dd statement?
i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb
what is “Cond= even” and “Cond=only”?
i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?
how to convert a file form fixed Length to variable length?
There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?
What are three major types of JCL statements? What are their functions?
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.
How to change default PROCLIB?
How do you restart a PROC from a particular step?
What is NOTCAT ?