home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / bit / listserv / ibmmain / 2617 < prev    next >
Encoding:
Text File  |  1992-11-11  |  2.2 KB  |  44 lines

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