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
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
define cond parameter in jcl?
What is the purpose of dd dummy statement?
Why block size is multiple of lrecl in jcl?
what is the compile process of cobol program expalin with code
What is the purpose of the dd keylen parameter?
Name the statement which can be used to send data to another mvs jes3 node?
What is jcl in mainframe?
Explain the function of job statement in jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
How do you overcome this limitation ?
what is “Cond= even” and “Cond=only”?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Does jcl support automatic restart?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.