Suppose there r total 10 steps. Out of which i want to
execute only the 7th step. How can i do that....????
Answers were Sorted based on User's Feedback
Answer / vatsa
In the job card mention the restart step name as
//jobname JOB (1234),class=a,msgclass=x,restart=step7
// notify=&sysuid.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / mithun suresh
Give COND=(0,LE) in the jobcard. By this only the 7th step
will be executed. No need to change any other statements in
JCL.
//jobname JOB (abcd),CLASS=B,MSGCLASS=J,
// RESTART=STEP7,COND=(0,LE)
| Is This Answer Correct ? | 6 Yes | 8 No |
Answer / shailendra
in job statement put restart=7th step name
and
in 8, 9,10th step cond=(0,GE)
else
in job statement put restart=7th step name
comment for remaining step
i think both will work
| Is This Answer Correct ? | 2 Yes | 6 No |
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
How to see the COMP3 value(packd decimal)
A job has 150 steps i want to execute only 57th step
what is the meaning of 'sysin dd dummy'
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?
Is condition checking possible in jcl?
How to execute only th 15th step of JCL consisting of 50 steps?
when does a dataset go uncataloged?
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
In SPACE,what is directory,RLSE