Charles, Long time no talk to ....I was wondering if I could compile the rexx clist or program and link it and then make a call from another language , i.e.; Cobol or Assembler. Based on what you said it looks like I can ..I thinking about building the Rexx Interface driver to handle the calls. My concern is that I make the call does , rexx release program storage ..?
Scott On Fri, Nov 25, 2016 at 6:23 PM, Charles Mills <[email protected]> wrote: > @Scott, there are two ways to compile Rexx: in one you end up with > something > that behaves like "normal" Rexx, but performs a little better in you have > the library licensed* on the target machine. I am not familiar with that > beyond the sentence I just wrote. The other way produces object code that > you then linkedit. I am fairly familiar with that latter way. For that, the > resulting load module is just like any other load module -- you would > call/link to it just like you would if it were written in assembler. IIRC > in > that situation the parm passing is also just like for an assembler program. > The first parm pointed to by R1 becomes Arg(1) and so forth. > > *For a vendor, compiled Rexx is less of a benefit than you might imagine. > You will gain performance improvements only at customer sites that license > the Rexx compiler run-time library. At other sites your compiled Rexx > program will run, but it will run interpreted with "normal" performance. > You > also gain only very slight "source code obfuscation" benefits because all > of > your source code is sitting in plain EBCDIC inside the resulting load > module. It is not perfectly editable source, but it would not take a > hacking > genius to turn it back into "real" source code. > > Charles > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Steve Thompson > Sent: Friday, November 25, 2016 2:44 PM > To: [email protected] > Subject: Re: Compiled Rexx Question > > Sorry, I read your initial post backwards -- REXX calling COBOL. > > So far I haven't called REXX from COBOL. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
