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 |
Is automatic restart possible in jcl? If yes, how?
How to compare 2 files using File-Aid?
what is DD statement is used in JCL?
How to delete generations of gdg without deleting gdg base?
Explain concatenating datasets?
difference between internal sort and external sort
GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?
How to copy one PS file to multiple PS files with same data?
you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or not there then how will you correct your jcl so that problem does not come. you should not create this file externally.how will u overcome it.
Is it possible to left uncode disp?
In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?