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 purpose of coding class parameter in job statement?
What is the function of dd name parameter with a 2 part structure; audit.report?
How does jcl act on a cobol code?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
when does a dataset go uncataloged?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
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.
Explain the hierarchy levels in jcl?
What are the parameters that are used in creating a gdg?
Name what parameter directs the output of the job log dataset?
what is the resolution for sb37 error
Is it possible to left uncode disp?
what happens in execution stage in job processing?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
How is a type of file defined in the jcl that executes the cobol program?