Hi,

Please clear me
when COND=ONLY and COND=EVEN. Explain me with example.

Answers were Sorted based on User's Feedback



Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example. ..

Answer / balasukumar

COND=ONLY IF YOU MENTIONED THIS OPTION IN A STEP,THAT
PARTICULAR STEP WILL EXECUTE ONLY THE PRIOR STEP IS ABENDED.

COND=EVEN MEANS IF THE PREVIOUS STEP EXECUTED SUCESSFULLY
OR NOT THAT PARTICULAR STEP IS EXECUTED SUCESSFULLY.

Is This Answer Correct ?    13 Yes 1 No

Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example. ..

Answer / suresh ramaiyan

COND=ONLY
if you mentioned this option in a step, that particular step will execute ONLY when there is an ABEND.

COND=EVEN
this particular step will execute either ABEND or not.

Is This Answer Correct ?    8 Yes 4 No

Post New Answer

More JCL Interview Questions

How to copy VSAM files without using REPRO

3 Answers   ADP,


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 ?

1 Answers   IBM,


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

0 Answers   CGI, Verizon,


once we submitted the job to the operating system, how can we cancel the job before execution?

2 Answers  


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

0 Answers  






How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

0 Answers  


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

4 Answers  


In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???

10 Answers   Perot Systems,


Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx

7 Answers  


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


wht is sysudump n sysout,sysprint ?

1 Answers   L&T,


Can we give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ?

5 Answers   IBM,


Categories