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 DUMMY IN JCL? HOW TO USE IT? CAN ANYBODY SEND PROGRAM ON THIS?

3 Answers  


What is the function of the steplib dd statement?

0 Answers  


Explain the function of a dd statement?

0 Answers  


How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?

5 Answers   IBM,


How is a type of file defined in the jcl that executes the cobol program?

0 Answers  






How to execute step2,step1, step3 if step1,2,3 are in order

8 Answers   CSC,


How to submit jcl through a cobol program?

0 Answers  


Suppose there are 10 steps in a PROC, I want to execute only step5. How do you give the condition in the JCL that calls this PROC?

3 Answers   IBM,


What is order of searching of the libraries in a JCL?

4 Answers  


how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??

3 Answers   Steria,


01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

1 Answers  


Explain about REXX

1 Answers  


Categories