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 / 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 |
Can we call instream to catalog and catalog to instream?
how to create a member or sequential dataset through tso command??
I have Job A and Job B. I want to trigger Job B from Job A. Please advise.
How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.
Differentiate between the joblib and the steplib statements?
In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd . Where do you generate the date ??in cobol or JCL ??
How to submit a jcl from cics?
How do you submit a JCL under CICS environment ?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS
Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?