In order to do this you can use the TSO service facility. Look at Chapter 23
of the manual z/OS 2.5 TSO/E Programming Services.
Or look at this URL.
https://www.ibm.com/docs/en/zos/2.5.0?topic=services-using-tsoe-service-faci
lity-ikjeftsr 
To do what you need you will probably have to update your IKJTSOxx member. I
suggest you should use the AUTHTSF section to place your program there. 
Please note that you will need to code your assembler program carefully to
be use that it does not introduce an integrity exposure. (As an example,
IDCAMS should not be placed within the AUTHTSF section as it allows the
passing of addresses of exit points in its parameter list.)

Lennie Dymoke-Bradshaw
https://rsclweb.com 
'Dance like no one is watching. Encrypt like everyone is.'

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Mike Hochee
Sent: 16 February 2023 06:46
To: [email protected]
Subject: Need advice: rexx calling authorized asmblr w/mult parms

Looking for some advice on the simplest way to call an authorized assembler
program from a non-compiled Rexx program under TSO/E in batch, with the
requirement that multiple updatable parameters will be passed. Updating
IKJTSOnn and APF authorizing whatever is not a problem.  At issue seems to
be the following...

The ADDRESS TSO CALL command appears to support only a single non-updatable
parameter string, but does support calling an authorized assembler program.
The LINKMVS, LINKPGM, ATTACHMVS and ATTACHPGM host command environments all
appear to support the passing of multiple updatable parameters, but the Rexx
Reference doc I've been reading in section 'Host Command Environments for
Linking to and Attaching Programs', states that these command environments
are all used to link/attach to... unauthorized programs.

Is there a way to satisfy both requirements using the LINK* or ATTACH*
command environments or should I be looking at System Rexx or IKJEFTSR or
something else?  (I would prefer not to setup System Rexx if there's a
reasonable alternative)

Thanks much,
Mike



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