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 ?



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

Can we call instream to catalog and catalog to instream?

0 Answers  


how to create a member or sequential dataset through tso command??

4 Answers  


I have Job A and Job B. I want to trigger Job B from Job A. Please advise.

2 Answers   Wipro,


How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.

13 Answers   IBM,


Differentiate between the joblib and the steplib statements?

0 Answers  


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 ??

2 Answers   CSC,


How to submit a jcl from cics?

0 Answers  


How do you submit a JCL under CICS environment ?

1 Answers   IBM,


What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  


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

3 Answers  


Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


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?

6 Answers  


Categories