In how ways you can pass the data from Jcl to cobol ?
Answer Posted / g.naveen
Mainly in 3 ways we can pass the data from Jcl to Cobol by
using Parm parameter,by using files and sysin dd *.
| Is This Answer Correct ? | 33 Yes | 0 No |
Post New Answer View All Answers
Explain how can a stopped job be started again?
How can a jobs execution priority be modified?
when can a job time-out occur? How to overcome that?
How do you access an uncatalogued dataset in a jcl?
what sort card you will use to copy the data from one dataset to another dataset?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
how do you code a null statement?
What is the purpose of dd dummy statement?
how you can access an uncataloged dataset in a JCL?
which utility is used to run a cobol-db2 program?
Is automatic restart possible in jcl?
what is DD statement is used in JCL?
What parameter directs the output of the job log dataset?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
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