> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of McGee, Cletus
> Sent: Monday, September 12, 2005 2:32 PM
> To: [email protected]
> Subject: Rexx Help
> 
> 
> I have an assembler program that runs just fine in batch. I 
> pass a parm
> to the program with the "parm =". This program must run in an
> apf-authorized library. I would like to call this program from a REXX
> program. The parm passes fine if I use the linkmvs but then I lose the
> apf authorization. If I use the TSO call the parm seems to not get
> passed. I am out of ideas as to which way to go. Any help would be
> greatlt appreciated. I have done quite a number of searches 
> and haven't
> yet found the answer. 

In order to invoke an APF authorized routine from REXX, as best as I can
tell, you must:

1) be running as a TSO batch program PGM=IKJEFT01 (not IRXJCL)
2) Have your program listed in PARMLIB member IKJTSOnn member in the
AUTHPGM section and the AUTHTSF section (I always list in both, but
AUTHPGM may be sufficient)
3) Invoke your program with the "CALL 'library(program)'"


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to