[comp.lang.rexx] Article 213 - Kenneth J. Heeres

pjt@wrkgrp.COM (Pam Taylor) (02/28/91)

Article 213 in comp.lang.rexx:
From: kjh@visual1.jhuapl.edu (Kenneth J. Heeres)

Subject: uniREXX and function packages
Message-ID: <1991Feb25.210422.16266@aplcen.apl.jhu.edu>
Date: 25 Feb 91 21:04:22 GMT
Sender: news@aplcen.apl.jhu.edu (USENET News System)
Reply-To: kjh@visual1.jhuapl.edu (Kenneth J. Heeres)
Organization: Johns Hopkins University
Lines: 14

Is it possible to write external REXX functions in C for
uniREXX.  I have done this in TSO, but it is not documented
in the uniREXX manual.

REPLY:

At the present there is not a direct mechanism for communication of
variables between uni-REXX and an external function written in C unless
you use one of the API Interfaces.  You would write a C program that
invokes your uni-REXX program via IRXJCL or IRXEXEC (both of which are  ==
equivalent to the TSO API's of the same names).  The uni-REXX program
may then call an external function written in C and variables may be
passed between the program and the function because the top level C
program has set up the correct environment.  Chapter 7 of the uni-REXX
Reference manual documents IRXJCL and the use of IRXEXCOM to share
variables.  IRXEXEC is documented in the readme file that is included
on the uni-REXX distribution media for versions 1.43 and later.  It is
also fully documented in the uni-REXX Reference manual that will be
distributed with Version 1.50, which will be available for Sun3, Sun4,
RS6000, HP9000, and SCO Unix in early March and for all platforms by
1 April 1991.  To determine which version of uni-REXX you have, look
at the Version file that is included on the distribution media or type
"rxc junk"  where "junk" is the name of any file (even a non-existent
one).
-- 
Technical Support               Telephone:  (708) 696-4800
The Workstation Group           Email:      tech@wrkgrp