Answer Posted / yaswanth kumar j
Use the COND parameter to test return codes from previous
job steps and determine whether to bypass this job step.
You can specify one or more tests on the COND parameter,
and you can test return codes from particular job steps or
from every job step that has completed processing. If any
of the test conditions are satisfied, the system evaluates
the COND parameter as true and bypasses the job step. If
none of the test conditions specified on the COND parameter
are satisfied, the system evaluates the COND parameter as
false and executes the job step.
SYNTAX:
COND[.procstepname] =
(code,operator)
COND[.procstepname] = ((code,operator[,stepname]
[.procstepname])
[,(code,operator[,stepname][.procstepname])]...
[,EVEN])
[,ONLY]
COND=EVEN
COND=ONLY
| Is This Answer Correct ? | 27 Yes | 1 No |
Post New Answer View All Answers
What are s0c1, s0c4, s0c5, s0c7 and socb?
In job processing, what happens in execution stage?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
how JCL works?
i want to store 20 digits . how will u do it in cobol ?
What is the function of job statement in jcl?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Is it possible to left uncode disp?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Is acct parameter mandatory?
Which statement is used to identify the private libraries in job?
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.
which parameter is use to declare the name of dataset in dd statement?
what is the use of JCL?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.