Explain COND used in JCL?



Explain COND used in JCL?..

Answer / koti156

the cond parameter is used to control the execution of subsequent job steps,depending on the condition code that is returned for a prior step.
ex:
suppose a job has two steps.the first step backups file,and the second step deletes the source file after a successful backup. obviously if the file is not successfully backup it should not be deleted.the cond can be used to control the the execution of the second step depend on th e value returned by the first.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More JCL Interview Questions

What happens if both JOBLIB and STEPLIB is specified ?

8 Answers  


In sms datasets, what is the function of the dd avgrec keyword?

0 Answers  


State the uses of syspring, sysin, sort fields, sum fields and dummy.

0 Answers  


How to run cobol program using jcl?

0 Answers  


A job has 150 steps i want to execute only 57th step

3 Answers   Cognizant,






what is the resolution for sb37 error

2 Answers   TCS,


Is it possible to left uncode disp?

0 Answers  


Explain the function of //jcllib statement?

0 Answers  


How do you submit JCL via a Cobol program?

4 Answers   IBM,


How many extents are possible for a sequential file ? For a VSAM file ?

3 Answers  


What parameters can be used to limit the number of records written to a sysout dataset?

0 Answers  


I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?

16 Answers  


Categories