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

Is it possible to left uncode disp?

919


which utility is used to run a cobol-db2 program?

1039


How does jcl specify the job to the operating system?

967


How jcl is used for testing batch programs?

966


How do you create a temporary dataset?

880


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1001


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

931


List the different components of jcl statement?

878


What are the 2 types of parameters in dd statement?

889


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

2200


What are some jcl statements that are not allowed in procedures?

966


How to execute 2nd and 4th steps among 5 steps in jcl proc?

974


What is the syntax of JCL statement?

919


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

1003


What dd statement is used to supply the name of a dataset?

1094