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

We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  


what is a cataloged procedure ?

1 Answers   Xansa,


Can we Execute a job without specifying Job Name in the Job Card?

2 Answers  


what is the difference between perform varying and perform

1 Answers  


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

2 Answers   IBM,






What is the improvement to COND= in the latest version of MVS?

3 Answers  


Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?

7 Answers   VS, Wipro,


What are the utility programs in jcl?

0 Answers  


what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.

5 Answers   BirlaSoft, Infosys,


diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)

4 Answers   RBS,


We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?

5 Answers   IBM, JPMorgan Chase,


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

0 Answers   IBM,


Categories