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 ?



Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it..

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

Post New Answer

More JCL Interview Questions

what is DD statement is used in JCL?

0 Answers  


How do you send the output of a COBOL program to a member of a PDS?

7 Answers  


What is the differentiation between TRK,cyl, and Bytes... how they can be connected??

2 Answers  


Is automatic restart possible in jcl?

0 Answers  


How do you access a file that had a disposition of KEEP?

3 Answers  






how to resolve the soc4 error?

5 Answers   ITC Infotech,


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

0 Answers  


Explain about ISPFTTRC

1 Answers  


is there any utility for restarting a particular step in jcl reply soon ?

5 Answers  


How to override loadlib?

0 Answers   Fiserv,


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

0 Answers  


what is the purpose of SYSOUT parameter in the DD statement?

1 Answers  


Categories