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 |
In job processing, what happens in execution stage?
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
What is COND=EVEN ?
What is concatenating?
Explain COND used in JCL?
What is NOTCAT 2
How can you execute a COBOL program via SYSIN in JCL?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)
in ways data can be passed to a COBOL program from JCL?
How many types we can give input to JCL
restart logic ?