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

how to code instream data in procedure?

3 Answers  


Is there any command to check wether the ps file is in sorted order?

4 Answers  


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


can we maintain 2 generations with different Lengths in Same GDG ?

3 Answers   RBS,


What is the error code SOC01 indicate ?

5 Answers   Microsoft,






What is the significance of addrspc parameter in the exec statement?

0 Answers  


01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

1 Answers  


I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?

16 Answers  


What is job control language?

0 Answers  


What is GDG?

1 Answers  


what is mainframe?

4 Answers   CGI,


How is a GDG base created?

5 Answers  


Categories