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


Please Help Members By Posting Answers For Below Questions

how JCL works?

806


Explain the purpose of dd * statement in jcl?

648


What is Cataloged Procedures?

723


Explain how can values be passed from the job stream to an executable program?

638


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?

1629






Explain the jcl exec statement?

661


When space is allocated for an output dataset, what units can be used?

761


How jcl work to handle various input output file operations?

664


How to pass data to a program that is coded in an exec statement?

845


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?

1817


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

1051


Explain the function of //cntl statement?

666


what is use of dcb parameter in dd statement?

789


Explain the purpose of the dd keylen parameter?

691


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' ?

1591