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 / ritesh kumar

ONE WAY OF ACCEPTING THE DATA IS
// SYSIN DD*

VALUE1
VALUE2
*/
AND OTHER WAY YOU CAN USE FILE TO ACCEPT THE DATA
INCLUDE THAT FILE INTO YOUR RUN JCL.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1738


What parameters can be used to limit the number of records written to a sysout dataset?

752


Is automatic restart possible in jcl? If yes, how?

659


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1972


In sms datasets, what is the function of the dd avgrec keyword?

658






What are the jcl procedures?

649


Is condition checking possible in jcl?

722


What parameter of the job statement is used to limit the cpu time consumed by the job?

845


What do you understand by the term notcat 2 – gs?

759


How does jcl act on code(if you take a cobol program)?

711


In job processing, what happens in execution stage?

702


Is automatic restart possible in jcl?

745


Explain how can the submitting users racf authority be overridden in a job stream?

677


What is catelog procedure and how many catelog procedure to use in one job?

7467


what is use of dsn parameter in dd statement?

675