Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the motivation behind coding class parameter in job statement?

1233


What is the function of the dd dcb keyword?

1396


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

1268


What are steplib and joblib? What for they are used?

1303


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.

2516


What do you know about jcl?

1203


What are hierarchy levels in jcl?

1573


what happens in conversion stage in job processing?

1274


is there any way to execute more than one proc in the same exec statement at the same time..?

2676


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5599


how to do automated restart when a job abends?

1424


How does the jcl specify the job to os?

1218


Explain dfsort utility?

1407


what is the purpose of coding notify parameter in job statement?

1202


What are the difference between jcl and jes?

1660