how can we pass parameters from JCL to cobol
subprogram...my requirement is i should not get data from
mainprogram but i need it from JCL directly
Answer Posted / muttaiah
Hi All,
Please try to understand the Question here.
They want to pass data from JCl to cobol subprogram not to
cobol program.
The above answers are used in case of passing data from JCL
to cobol.
Can someone answer the question correctly
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what are JCLLIB and STEPLIB in JCL?
Brief description of inline procedure of jcl.
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 EXEC statement is and what is the syntax of EXEC statement used in JCL?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What is the function of //jcllib statement?
What is the function of the dd avgrec keyword in sms datasets?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What do you understand by the term notcat 2 – gs?
What is concatenating?
What is multithreading in jcl?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What is the use of symbol // in jcl?
What are the rules employed while naming the steps in a job?