home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!stanford.edu!bcm!convex!darwin.sura.net!paladin.american.edu!auvm!VCCSCENT.BITNET!SOMITCW
- Message-ID: <IBM-MAIN%92111113023848@RICEVM1.RICE.EDU>
- Newsgroups: bit.listserv.ibm-main
- Date: Wed, 11 Nov 1992 13:18:25 EST
- Sender: IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
- From: SOMITCW@VCCSCENT.BITNET
- Subject: Using IKJTSO00 for authorized pgms
- Lines: 33
-
- On Wed, 11 Nov 1992 11:23:10 EST, A024021@RUTVM1 wrote:
- > I am writing a program for use on TSO, which needs to be authorized.
- >This is so it can do an ACF2 call. I have looked at IKJTSO00 and am
- >a little confused on how to fill it in.
- >If module A calls B and B calls C and C is the one that needs to be
- >authorized, do I just add C to the list or do I have to do A, B and C?
- >Which list is it, the AUTHPGM, authorized program list or is it
- >AUTHTSF, the APF-authorized program list? It is executing out
- >of a APF'ed STEPLIB. (I would pick AUTHTSF, but what does AUTHPGM mean?)
-
- I'm not a TSO expert, but here is how I believe that it works.
- If the program is executed as a TSO command ( like TIME, LISTBC,
- HELP ) and you need it authorized, use AUTHCMD. If you call the
- program ( like CALL 'SYS1.LINKLIB(IEBCOPY)' ) and you need it
- authorized, use AUTHPGM. If your program is running under another
- program that has TSO/E call your program, use AUTHTSF.
-
- To be APF authorized in TSO:
- 1. Link-edit the top program with an authorization code of 1.
- If the top program uses the CALL macro, it is equivalent
- to a BAL to the second program. MVS will not intercept a
- machine instruction or its return to play with the
- authorization bit in the JSCB. A LINK macro is processed
- with an MVS Supervisor Call but MVS will still not change
- APF authorization. I believe that there are options on
- the ATTACH and SYNCH macros to change authorization but I
- have never used the macros to change authorization.
-
- 2. If you use STEPLIBs in TSO ( a no no ), make sure all libraries
- in the concatenation are APF authorized.
-
- 3. Put the program in SYS1.PARMLIB(IKJTSO00) under AUTHCMD, AUTHPGM,
- or AUTHTSF as needed or all three to be safe.
-