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

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 ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the syntax of job specifying jcl statement.

646


what is a jcl?

697


what is DSN in JCL and what are the parameters to declare the DSN?

733


Suppose I have five jobs to do. But I want to hold one?

669


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






I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8723


Explain the function of job statement in jcl?

660


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

657


what sort card you will use to copy the data from one dataset to another dataset?

743


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2180


how you can access an uncataloged dataset in a JCL?

664


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3541


What are the parameters that are used in creating a gdg?

748


a dd statement has 2 types of parameters. Name them?

662


What is the use of disp parameter?

659