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
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 happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Are there any set of rules for the names of the steps used in a job? What are they?
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 to run cobol program using jcl?
In sms datasets, what is the function of the dd mgmtclas keyword?
Name the statement which can be used to send data to another mvs jes3 node?
Explain dfsort utility?
what are the statements that are not valid to be included in an include statement?
Mention the types of job control statements?
Can an individual step be restricted from using all the jobs allowed cpu time?
What are hierarchy levels in jcl?
Can we call instream to catalog and catalog to instream?
What are the 4 fields in dd statement?
What do you understand by the term job time – out and how can you overcome that?