Pass Parameter from JCL to COBOL

How will you pass a parameter from JCL to COBOL without using param and sysin?

Questions by ravtej556

Showing Answers 1 - 16 of 16 Answers

I think there is also a register item called return code which can be accessed from both JCL and cobol, so we can some values through this variable as well.


Correct me if wrong.

  Was this answer useful?  Yes

Ishaan Tewari

  • Feb 19th, 2016
 

Return code can be set through program and is very useful in handling the step execution based on RC using IF ELSE construct.

  Was this answer useful?  Yes

Mehul

  • Feb 26th, 2016
 

You can have the parameters as the contents of a file and then read that file in the Cobol program for the parameters.

  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