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

You can pass the vlaues to the cobol program using PARM
coded in the jcl

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

810


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

707


what is use of disp parameter in dd statement?

667


Mention the types of job control statements?

691


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9222






I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

835


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

916


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 ?

949


Explain the function of the dd dcb keyword?

706


Explain the function of the steplib dd statement?

651


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

1123


How do you access an uncatalogued dataset in a jcl?

731


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1754


What is multithreading in jcl?

944


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

847