For Programmers: Free Programming Magazines  


Home > Archive > Rexx > November 2006 > calling a REXX module from COBOL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author calling a REXX module from COBOL
willemo

2006-11-30, 10:06 pm

Hi Folks,

I hope someone can help me out.
I 'need' to call a Rexx routine from a cobol program under MVS .

Can anyone tell me if it's possible and how to do it?

Thanks.

From, Willemo

Phil

2006-11-30, 10:06 pm


willemo wrote:

> I hope someone can help me out.
> I 'need' to call a Rexx routine from a cobol program under MVS .
>
> Can anyone tell me if it's possible and how to do it?


I think you would CALL IRXJCL. Try the Rexx Reference manual, for
example,
http://publib.boulder.ibm.com/cgi-b...S/IKJ4A370/12.2

Perhaps something like

01 REXX-PARM.
05 RP-LEN PIC S9(4) COMP VALUE 32.
05 RP-PROGRAM-NAME PIC X(32) VALUE "REXXPGM arg, arg, arg".
....
CALL 'IRXJCL' USING REXX-PARM.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com