If the COND parameter is specified in both the JOB and EXEC
statements, which one will take precedence? If JOB takes
priority and if all the conditions evaluate to false, then
will the conditions on the EXEC step be evaluated next?
Answer Posted / ratheesh
EXEC takes priority.
| Is This Answer Correct ? | 8 Yes | 14 No |
Post New Answer View All Answers
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.
List the different components of jcl statement?
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
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is one line to pass PARM from JCL to COBOL?
Explain the jcl exec statement?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Can we call instream to catalog and catalog to instream?
which parameter is use to declare the name of dataset in dd statement?
a dd statement has 2 types of parameters. Name them?
List the different jcl statements that are not permitted in the procedures?
Is condition checking possible in jcl? If yes, how?
what are the statements that are not valid to be included in an include statement?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What are s0c1, s0c4, s0c5, s0c7 and socb?