I have a COBOL program that Accepts some input data. How do
you code the JCL statement for this?
( How do you code instream data in a JCL? )
Answer Posted / sandeep
ONE WAY OF ACCEPTING THE DATA IS
// SYSIN DD*
VALUE1
VALUE2
*/
AND OTHER WAY YOU CAN USE PARM PARAMETER IN YOUR JCL.
IN APPLICATION PROGRAM USE THAT DATA THROUHG LINKAGE
SECTION.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how JCL works?
Explain the purpose of dd * statement in jcl?
What is Cataloged Procedures?
Explain how can values be passed from the job stream to an executable program?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Explain the jcl exec statement?
When space is allocated for an output dataset, what units can be used?
How jcl work to handle various input output file operations?
How to pass data to a program that is coded in an exec statement?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
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
Explain the function of //cntl statement?
what is use of dcb parameter in dd statement?
Explain the purpose of the dd keylen parameter?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?