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
Name the parameters which can be used to limit the number of records written to a sysout dataset?
How to submit jcl through a cobol program?
Can we use DISP=SHR in output file in JCL
What are the parameters that are used in creating a gdg?
What are the 4 fields in dd statement?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Are there any set of rules for the names of the steps used in a job? What are they?
What is notcat 2 - gs?
what JCL Procedures?
what is DSN parameter and DISP parameter is used for?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Name a few IBM utility programs, and explain its function.
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What is the difference between the positional and keyword parameters? Give examples.