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 can you execute a COBOL program via SYSIN in JCL?

1 Answers  


I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...

2 Answers   Satyam,


Can a PS file be read in reverse order?If so,how

2 Answers   Syntel,


what is fixed length and variable length and difference between them

1 Answers   CGI, Wipro,


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

1 Answers   IBM,






what is use of disp parameter in dd statement?

0 Answers   IBM,


What is the purpose of dd dummy statement?

0 Answers  


i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes

3 Answers  


Explain about LMFREE�free data set from its association with data ID

0 Answers  


How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above

3 Answers   HSBC,


How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?

5 Answers   IBM,


How do you submit a JCL under CICS environment ?

5 Answers   Wipro,


Categories