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 motivation behind coding class parameter in job statement?
What is the function of the dd dcb keyword?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What are steplib and joblib? What for they are used?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What do you know about jcl?
What are hierarchy levels in jcl?
what happens in conversion stage in job processing?
is there any way to execute more than one proc in the same exec statement at the same time..?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
how to do automated restart when a job abends?
How does the jcl specify the job to os?
Explain dfsort utility?
what is the purpose of coding notify parameter in job statement?
What are the difference between jcl and jes?