In JCl which of this activities get executed if act002
abnormally terminates
//job001 job .........

//act001 exec pgm=cobo01

//act002 exec pgm=cob02, cond=(01,le)

//actoo3 exec pgm=cob03, cond=only

//actoo4 exec pgm=con04

Answers were Sorted based on User's Feedback



In JCl which of this activities get executed if act002 abnormally terminates //job001 job .........

Answer / munu

act003 and act004 will execut

Is This Answer Correct ?    8 Yes 2 No

In JCl which of this activities get executed if act002 abnormally terminates //job001 job .........

Answer / pratim

If act002 exec pgm=cob02 fails,
actoo3 exec pgm=cob03, will execute because of cond=only!

but actoo4 will not execute!!

Is This Answer Correct ?    1 Yes 1 No

In JCl which of this activities get executed if act002 abnormally terminates //job001 job .........

Answer / vinay sonar

ACT003 AND ACT004 WILL EXECUTE BECAUSE COND=ONLY MEANS
EXECUTE THAT STEP ONLY IF PREVIOUS STEP ABENDS

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

is step name is compulsory in jcl ?

2 Answers  


What are the differences between JES2 & JES3 ?

4 Answers  


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


What is the function of a dd statement?

0 Answers  


What is the function of the steplib dd statement?

0 Answers  






What is Uncatalog dataset? How can we access/use them?

1 Answers  


What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.

0 Answers  


How would you understand error(execution phase)?

0 Answers  


What are the jcl procedures?

0 Answers  


difference between internal sort and external sort

1 Answers  


Is automatic restart possible in jcl?

0 Answers  


what is the difference between perform varying and perform

1 Answers  


Categories