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 is the purpose of dd * statement in jcl?

1049


what is the resolution for sb37 error

8439


Explain the hierarchy levels in jcl?

1418


what is the use of JCL?

943


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5333


What is the format of comment statement?

950


Explain the function of job statement in jcl?

899


How can unused space allocation be returned to the system when a dataset is closed?

1158


What is jcl in mainframe?

978


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2168


define cond parameter in jcl?

1038


Give the syntax of job specifying jcl statement.

871


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

899


how would you create a temporary dataset? And where will you use them?

1028


what is a jcl?

905