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 does a disposition of (MOD,DELETE,DELETE) mean ?
what is the compile process of cobol program expalin with code
Explain how can the submitting users racf authority be overridden in a job stream?
what is DSN parameter and DISP parameter is used for?
Does jcl support automatic restart?
Explain dfsort utility?
Explain the function of the steplib dd statement?
How gdg are concatenated?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
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
How to submit jcl through a cobol program?
What is the purpose of dd * statement in jcl?
Explain the function of the dd dcb keyword?
what JCL Procedures?
which utility is used to run a cobol-db2 program?