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 / shashidhar kalasannavar
You can pass the data to cobol program in three way and one
is instrem.
//SYSIN DD *
DATA1
DATA2
/*
or
//SYSIN DD DSN=SSK08.TEST.DATA,DISP=SHR
By intream you can send only 80 charecters
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
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
is there any way to execute more than one proc in the same exec statement at the same time..?
Is acct parameter mandatory?
What is timing concept in mainframe?
What is the purpose of disp parameter?
what is use of dcb parameter in dd statement?
how can you check if a file is empty using jcl?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What are the utility programs in jcl?
What do you understand by the term job time – out and how can you overcome that?
In sms datasets, what is the function of the dd avgrec keyword?
What do you understand by the terms: joblib and steplib?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
List the various advantages of using jcl language?