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 / vishal sinha
>>Through PARM parameter
>>Through INSTREAM DD statement
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
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
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
What does a disposition of (new,catlg,keep) for a dsn mean?
What parameter of the job statement is used to limit the cpu time consumed by the job?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Must tape dataset definitions include vol=ser specifications?
which utility is used to run a cobol-db2 program?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
When space is allocated for an output dataset, what units can be used?
What is the maximum length of a single line of jcl?
I need exexution process for JCL programs
How to alter the parameters for the existing gdg?
What is jcl in mainframe?