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 is the use of ikjeft1b utility in jcl?

1 Answers  


how you will define a temporary dataset in jcl?

1 Answers   IBM,


How to find out the number of records in a file using JCL

5 Answers   CTS,


i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??

14 Answers   L&T,


what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?

1 Answers  






How can a job send a status message to a tso user at the completion of a job?

1 Answers  


i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


what is the difference between the JCLLIB and JOBLIB ,and where do we use it ?

3 Answers   Convergys,


How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?

1 Answers  


Are there any set of rules for the names of the steps used in a job? What are they?

0 Answers  


How gdg are concatenated?

0 Answers  


How to view the hexa decimal value thru file aid if copy book is not present for that particular data

1 Answers  


Categories