How to send data from cobol program to jcl?

Answers were Sorted based on User's Feedback



How to send data from cobol program to jcl?..

Answer / gaurav

We can set the RETURN-CODE in COBOL which is passed to JCL

Is This Answer Correct ?    14 Yes 0 No

How to send data from cobol program to jcl?..

Answer / challa srinivas

We can send output as a (PDS member) with DISP=SHR. The DISP applies to the PDS and not to specific member.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

What is the use of ikjeft1b utility in jcl?

1 Answers  


Explain how can the submitting users racf authority be overridden in a job stream?

0 Answers  


What does a disposition of (NEW,CATLG,DELETE) mean?

3 Answers  


There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?

3 Answers  


how do u see jobs submitted before ur job ?

1 Answers  






if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete

4 Answers  


Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?

5 Answers   Cognizant,


What is Uncatalog dataset? How can we access/use them?

1 Answers  


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


what will be the error code if duplicate key of VSAM file is found?

1 Answers   HSBC, Kings,


When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,


Suppose I have seven jobs to do, but I want to hold one than how can I do this?

1 Answers  


Categories