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 / pratheep

ANOTHER WAY IS
//SYSIN=*
INPUT 1
INPUT 2
//

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is concatenating?

860


How to alter the parameters for the existing gdg?

934


What is the difference between the positional and keyword parameters? Give examples.

972


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1239


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

1047


When output dataset space is required, what quantity categories are used?

1103


How do you overcome this limitation ?

933


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2461


Differentiate between the joblib and the steplib statements?

1091


Explain how can the disposition of sysout datasets be set for an entire jobstream?

855


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1112


What are the parameter we cannot use in procedure?

835


What is Cataloged Procedures?

905


What is the function of //jcllib statement?

1063


What do you understand by the term job time – out and how can you overcome that?

808