Page 1 of 1

How to run a COBOL program from REXX EXEC?

Posted: Mon Jul 13, 2015 11:49 am
by Satan Singh Rawat
Hi,

It might be trivial to ask but I'm not sure if this can be done. Can you please let me know how can we run a COBOL program from a private load library using REXX. Any pointer is appreciated.

Re: How to run a COBOL program from REXX EXEC?

Posted: Mon Jul 13, 2015 5:22 pm
by nicc
What do your colleagues say? What do your support say? What manuals have you referred to? Have you searched the forum, other forums, the internet? Assuming you have done all this (which is the correct order of action) - what are the problems that you are having?

Re: How to run a COBOL program from REXX EXEC?

Posted: Wed Jul 15, 2015 8:43 am
by Vijay Pratap Singh
You can use ADDRESS LINKMVS or ADDRESS LINKPGM to call a program. Details are at this link: http://publibz.boulder.ibm.com/cgi-bin/ ... 0714012324

Re: How to run a COBOL program from REXX EXEC?

Posted: Sat Jul 25, 2015 9:05 pm
by Satan Singh Rawat
nicc wrote:What do your colleagues say? What do your support say? What manuals have you referred to? Have you searched the forum, other forums, the internet? Assuming you have done all this (which is the correct order of action) - what are the problems that you are having?
Collegues are not that supportive for such questions. I have searched but I was not able to make a good hit. Some of the forums are not working in office so I posted here.

Re: How to run a COBOL program from REXX EXEC?

Posted: Sat Jul 25, 2015 9:11 pm
by Satan Singh Rawat
Vijay Pratap Singh wrote:You can use ADDRESS LINKMVS or ADDRESS LINKPGM to call a program. Details are at this link: http://publibz.boulder.ibm.com/cgi-bin/ ... 0714012324
Thank you Vijay. I shall work with this.

Re: How to run a COBOL program from REXX EXEC?

Posted: Thu Jul 30, 2015 2:48 pm
by Satan Singh Rawat
I've used the below syntax and it is working well:

Code: Select all

/* REXX */ 
Address LINKMVS "MYPROG PARAMETERS" 
Thanks all! :)

Re: How to run a COBOL program from REXX EXEC?

Posted: Sat Sep 19, 2015 5:23 pm
by zprogrammer
Also do read about TSO command ALLOC