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

Define concatenating?

896


What is the motivation behind coding class parameter in job statement?

924


What are hierarchy levels in jcl?

1277


How do you create a temporary dataset?

906


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

1139


How to do automated restart when a job abend?

1060


What is the function of the dd mgmtclas keyword in sms datasets?

1030


what are the types of abends that occur on job failure? And explain the possible causes of these

1358


List the various advantages of using jcl language?

1171


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

875


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

1021


How jcl is used for testing batch programs?

999


Explain the function of the dd dcb keyword?

966


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

1064


What is the function of dd disp parameter?

884