suppose i have job it contains 10 steps after exicution of
job failuer at 3 and 7 th steps i want exicute step 3 and
step 7 only how we specify condition ?
Answer Posted / amy
IN THIS JCL YOUR JOB IS SUBMITTED BY DIFFERENT JCL AND ONLY
REQUIRED STEPS WILL BE EXECUTED.
//testjob JOB (MVSQuest),'IEBEDIT TEST',
// CLASS=B,MSGCLASS=X,NOTIFY=V665235,REGION=28M
//*
//SUBMIT EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=your.JCL(member),DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT START=your-job-name,TYPE=INCLUDE,STEPNAME=
(STEP0003,STEP0007)
//*
In the above JCL, MEMBER is the 10 steps JCL. testjob is
the job-name of this JCL.
If TYPE is exclude, then the mentioned steps will not be
copied/submitted.
PLEASE LET ME KNOW IF I AM WRONG!!!
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What do you understand by the term notcat 2 – gs?
Explain about ISPF/TSO Commands
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What is the function of the dd mgmtclas keyword in sms datasets?
What is the function of //cntl statement?
For what purpose steplib and joblib are used ?
how you can direct the data to spool using SYSOUT option?
what happens in execution stage in job processing?
what is the difference between JES3 and JES2?
How do you access an uncatalogued dataset in a jcl?
what is the use of IEBGENER utility?
is there any way to execute more than one proc in the same exec statement at the same time..?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
In job processing, what happens in execution stage?
what are the statements that are not valid to be included in an include statement?