How can we pass data from cobol to JCl?

Showing Answers 1 - 15 of 15 Answers

venkat

  • Jun 27th, 2006
 

We can pass data from Cobol to JCL through registers of procedure division.

  Was this answer useful?  Yes

vams

  • Jun 29th, 2006
 

hi,

  using internal readers we can pass data from cobol to jcl program

  Was this answer useful?  Yes

kavitha

  • Sep 25th, 2006
 

Using the Pass parameter in the JCL and through the linkage variable in Procedure division

  Was this answer useful?  Yes

sairam

  • Nov 11th, 2006
 

Hi can u please more eloborate on this with an example?

  Was this answer useful?  Yes

Rohit

  • Feb 22nd, 2007
 

You can pass data from cobol to jcl by setting the value in RETURN register and fetching it in JCL.
example, if file is empty, you can set return code by MOVE 22 to RETURN-CODE
in JCL for that step executing the program you can define a COND parameter to handle that return code. Try it.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions