Explain COND used in JCL?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a stopped job be started again?

896


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

901


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

820


What is the function of a dd statement?

896


Is automatic restart possible in jcl? If yes, how?

826






How to pass data to a program that is coded in an exec statement?

1032


which utility is used to sort a file in jcl?

952


What are the difference between jcl and jes?

1264


what is use of disp parameter in dd statement?

815


What is the significance of addrspc parameter in the exec statement?

812


How can the submitting users racf authority be overridden in a job stream?

973


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2176


What is Cataloged Procedures?

881


What is jcl in mainframe, and how many types of jcl statements are there for a job?

850


What is the function of dd disp parameter?

836