by Pedro » Thu Mar 02, 2023 9:42 am
RACF provides a rexx interface* for various stuff by calling program IRRXUTIL and providing the right input. Though, from my reading, it seems that passtickets do not seem to be supported by IRRXUTIL.
The service for passtickets is IRRSPK00 and is intended to be called from an assembler program. In my honest opinion, calling IRRSPK00 from rexx has some insurmountable issues:
1. You have to provide the addresses of several control blocks.
2. The input parameters are complex and it is not likely that you can set the storage adequately using rexx.
My suggestion is to write an assembler program that calls IRRSPK00 as intended. If you need a rexx component, consider having your assembler program call IRXEXCOM to create a bunch of rexx variables.
for info about IRRSPK00, see RACF Callable Interfaces, SA23-2293.
for info aobut IRXEXCOM, see TSO/E REXX Reference, SA22-7790.
* I am retired now, but worked for IBM for over 35 years. I convinced my IBM colleagues to create the rexx interface for RACF.
Pedro Vera