Is there GOTO and SWITCH-CASE available in JCL ?
Is IF-THEN-ELSE available in JCL also just like it is
available for VSAM datasets under Model Commands category ?
Answer Posted / madhavi
IF THEN Else is available in JCL for example
// IF STEP040A.RUNCHK01.RC = 00 THEN
//*
//STEP040B EXEC IRSL1REP,CURR=EUR,TYPE=P,CC=AU,AREA=GE,
MEMB1=REP1BUD,
// STAGE=PROD,MEMB2=REP2BUD,FILE='.M37I',CC1=
// ENDIF
//*
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the maximum length of a single line of jcl?
how do you access an uncataloged dataset in a jcl?
Explain dfsort utility?
Where can program checkpoints be stored for use in a restart?
What is the purpose of disp parameter?
What are the rules employed while naming the steps in a job?
when does a dataset go uncataloged?
What is condition checking in jcl? Is this possible?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What is the purpose of dd dummy statement?
how you can access an uncataloged dataset in a JCL?
How do you submit a job for execution?
Explain the job statement in jcl?
What are the 4 fields in dd statement?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?