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


Which COND paramter will u use to execute the step only if
the previous step does not execute

Answers were Sorted based on User's Feedback



Which COND paramter will u use to execute the step only if the previous step does not execute..

Answer / girish kumar

cond=only

Is This Answer Correct ?    41 Yes 1 No

Which COND paramter will u use to execute the step only if the previous step does not execute..

Answer / dutta

It is said that if step does not execute..it doesn't said that step execute abnormally.
so i think we must use Cond=EVEN.it says even if previous step excecute abnormally or normally then next step must execute.

Is This Answer Correct ?    1 Yes 0 No

Which COND paramter will u use to execute the step only if the previous step does not execute..

Answer / y@$w@nth

//step01 EXEC PGM=prog1
//indd1 DD DSN=userid.sample.indataset1
//outdd2 DD DSN=userid.sample.outdataset1

//step02 EXEC PGM=prog1,COND=(0,EQ,STEP01,4,EQ,STEP01)
//indd2 DD DSN=userid.sample.indataset2
//outdd2 DD DSN=userid.sample.outdataset2

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More JCL Interview Questions

i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0

3 Answers  


How do you skip a particular step in a proc/JOB?

5 Answers   CSC, CTS,


Can we write same stepname for one or more steps in on job ?

2 Answers  


Name the system library from which modules are retrieved at execution

3 Answers  


Explain about LMPUT-

1 Answers  


What are the parameter in the job card wihtout which job won't run........

10 Answers   IBM,


What are the differences between JES2 & JES3 ?

4 Answers  


what is the control cards?

3 Answers  


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

0 Answers   IBM,


how to code instream data in procedure?

3 Answers  


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

3 Answers   Wipro,


How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?

1 Answers  


Categories