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
how would you create a temporary dataset? And where will you use them?
What is the use of symbol // in jcl?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
when can a job time-out occur? How to overcome that?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
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
How can unused space allocation be returned to the system when a dataset is closed?
what is the difference between JES3 and JES2?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
which parameter is use to declare the name of dataset in dd statement?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Explain dfsort utility?
define cond parameter in jcl?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What is the purpose of the dd keylen parameter?