You can invoke an authorized command from the READY prompt or from ADDRESS TSO, and you can invoke an authorized program with CALL, asdsuming that they are in the relevant lists, but: "To invoke an *unauthorized* program from an exec, use one of the link or attach host command environments that are described in “Host command environments for linking to and attaching programs” on page 30."
And yes, in each case it runs in a parallel task with the invoking task non-dispatchable. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Mike Shaw [[email protected]] Sent: Monday, August 22, 2022 11:11 AM To: [email protected] Subject: Re: rexx and IDCAMS functions AFAIK, APF authorized pgms execute under TSO/E in a sister task to IKJEFT09...the original IKJEFT09 task is in a wait until the APF authorized pgm ends. Maybe the AUTHPGMS list in IKJEFTxx came into being as part of that mechanism... Mike On Mon, Aug 22, 2022, 10:47 AM Paul Gilmartin < [email protected]> wrote: > On Mon, 22 Aug 2022 09:42:25 -0500, Walt Farrell wrote: > > >>I forgot to mention that "IDCAMS" is included on the > >>SYS1.PARMLIB(IKJTSOxx)) AUTHPGM NAMES list > > > >Yes, that would be required in order for your TSO CALL command to invoke > IDCAMS with APF-authorization. > > > Why is such specific authorization required? Is there some > associated hazard or cost? > > -- > gil > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
