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 / ekta agrawal

ONE WAY OF ACCEPTING THE DATA IS
// SYSIN DD*

VALUE1
VALUE2
*/
and other way you can also give teh data thru SYSIN is:
// SYSIN DD DSN='DDPCN.EKTA.TEST',DISP=SHR

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the various stages of job processing?

747


Explain how can a jobs execution priority be modified?

751


How can the attributes of one sms dataset be copied to another dataset?

871


what is DD statement is used in JCL?

690


Explain about ISPF/TSO Commands

1326






Are there any set of rules for the names of the steps used in a job? What are they?

622


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

1678


Differentiate between the joblib and the steplib statements?

867


What are the parameter we cannot use in procedure?

649


What does a disposition of (MOD,DELETE,DELETE) mean ?

674


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1591


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

826


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

679


Explain dfsort utility?

681


What are the 2 types of parameters in dd statement?

663