Hi Betsy, "I'm beginning to think it can't. I think Rob Scott is correct - I should write a stub using IKJEFTSR. I found the following from Walt Farrell in a different list: "Therefore, since Rexx itself is not running authorized, your Rexx exec cannot simply call another program and have that program run authorized."
I know Walt has provided a response in respect of TSO and the TSO Call, but there is an alternative approach which does not require authorization, although it will require RACF SURROGATE authority on userid.DFHEXCI. It will also need MRO enabled within CICS if it is not already. This approach use the CICS EXECI interface, which can be invoked in two ways either via EXEC CICS LINK or via the CALL interface. I use the former in a COBOL program to do NEWCOPY programs, but it could just as easily be Assembler, PLI, or C. The CALL approach does not require the use of the CICS pre-processor, so may even be usable directly from REXX although the CALL would need to be the TSO version as described by Walt, rather than the REXX equivalent. The techniques are discussed CICS External Interface Guide Chapter 10. IBM supply a sample program, DFH0CXCC being the COBOL version. Kind Regards - Terry Director KMS-IT Limited 228 Abbeydale Road South Dore Sheffield S17 3LA UK Reg : 3767263 Outgoing e-mails have been scanned, but it is the recipients responsibility to ensure their anti-virus software is up to date. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN