what is the COND=EVEN ? Can anyone give me an example to
explain the usage.
Answers were Sorted based on User's Feedback
Answer / dnyandeep
COND=EVEN, when it is coded on JCL step, that step will execute EVEN when previous step executes abnormally. This means even if previous step completes then also this step will execute.
COND=ONLY, when it is coded on JCL step, that step will execute only when previous step executes abnormally.
I think the use of it depends on programmers need and logic.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / suputhru
COND=EVEN,this step will execute when previous step executes abnormally or normally.
COND=ONLY, this step will execute when only(must)previous steps executes abnormally.
| Is This Answer Correct ? | 2 Yes | 0 No |
How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?
What is DISP= (NEW,PASS,DELETE)?
What are steplib and joblib?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
How to identify in JCL that an input file is empty without reading it?
How are datasets concatenated?
what are the ways of passing data to a cobol program from jcl?
How to get the last but one duplicate record of the file using Sort?
How jcl is used for testing batch programs?
How can a job send a status message to a tso user at the completion of a job?
how to do automated restart when a job abends?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.