My experience was that writing function packages was hard unless you can hook in early with a REXX environment definition. That requires system administration for installation which may be a game changer. The easier option is a subcommand environment which you can establish with an "address LINK "INITPGM"" call that calls your INITPGM program to initialize the REXX command processing environment. That's a nice interface and similar to TSO and ISPF. The rub is that you need to write code to parse the commands, get/set variables and do all the other book-keeping stuff. It's quite a bit of work. And if you want to call LE code you need assembler bridging stubs to pass control from REXX to your LE program.
If there's no money in it you may want to rethink your project.

On 5/07/2013 10:52 AM, Ze'ev Atlas wrote:
Which Perl?
I am using v5.14.2

7. I contemplated interfacing with Rexx, but I cannot come with
specific well defined API that would agree with that language.
The obvious way is to return, e.g., capture buffers, %+ and %- in REXX
variables.
I will look into that when I get to it.  Thank you.

I've written REXX-callable functions for CMS and TSO; I don't have a
system to test on.
If and when you could, your help would be welcome

written in, you guessed, Perl
Will they work in 5.8.7? That's currently the last Perl for z/OS.
Sorry for that situation.  I heard that some people are working on bringing a 
later version and I think IBM should have done better, bt that's not in my 
hands.  I use Windows 7 machine with ActiveState Perl.

ZA

----------------------------------------------------------------------
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

Reply via email to