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?
Answer Posted / 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 |
Post New Answer View All Answers
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
How gdg are concatenated?
What is timing concept in mainframe?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
Is it possible to left uncode disp?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
What does a disposition of (new,catlg,keep) for a dsn mean?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
What is use of restart and how to use it?
In job processing, what happens in conversion stage?
Is it possible to left uncode disp? If yes, how?
What are the jcl procedures?
List the different jcl statements that are not permitted in the procedures?