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


Please Help Members By Posting Answers For Below Questions

What are s0c1, s0c4, s0c5, s0c7 and socb?

707


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1670


what operation is performed by job statement?

663


Explain the function of dd disp parameter?

599


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

711






which parameter is use to declare the name of dataset in dd statement?

739


what are the statements that are not valid to be included in an include statement?

778


How to override loadlib?

1432


Explain the function of the dd dcb keyword?

706


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

758


Give the syntax of job specifying jcl statement.

640


How to do automated restart when a job abend?

791


When space is allocated for an output dataset, what units can be used?

757


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2069


Differentiate between addressing mode and run mode.

615