TAA Tools
PRTADPPGM       PRINT ADOPTED PROGRAMS                 TAASECU

The  Print Adopted  Programs  command  provides better  printed  output
than  the system  command DSPPGMADP.   PRTADPPGM  allows you  to better
analyze  the  programs that  use  the USRPRF(*OWNER)  function  on your
system.

You can request the adopted  programs owned by an individual  user, all
users,  all  non-system users,  or  all system  users.    You may  also
exclude certain users.

An alternative is to use the PRTADPPGM2 tool.

Additional   information  is  supplied   such  as   the  users  special
authorities and  whether  the program  was  originally created  by  the
system.

After you  find the programs  that you want  to look further  into, the
TAA Tool PRTPGMSEC can be used to analyze individual programs.

If you  request one of the *ALLxxx functions,  only those users who own
adopted programs will print.

To specify  an  individual user  profile,  you must  be  authorized  to
access the  user profile.   To  specify one of  the *ALLxxx  functions,
you must have the special authority *ALLOBJ (e.g.  QSECOFR).

Command parameters                                    *CMD
------------------

   USER          The  user who's  adopted programs  you want  to print.
                 The  special value  *ALL may  be entered  to print all
                 users.  The  special value *ALLUSR  may be entered  to
                 print  all non-system  profiles.    The special  value
                 *ALLIBM  may be entered to  print all system profiles.

                 The system  profiles are  checked using  the TAA  Tool
                 CHKIBMPRF.   This  only  includes  the shipped  system
                 profiles.    Other  profiles  that  begin  with Q  are
                 considered Non-system profiles.

   OMITUSER      A list of up to 20 users  that you want to omit.   The
                 default is *NONE.

                 The  performance of  PRTADPPGM  is very  dependent  on
                 how  many   programs  are  owned  by   the  users  you
                 request.    The  system must  extract  from  the total
                 list  of owned  programs  to  determine  the  programs
                 that  adopt.   Therefore, the  OMITUSER parameter  can
                 be  helpful for  profiles that  own a large  number of
                 programs such as QSYS.

                 For example, once you  have checked the QSYS  profile,
                 you can avoid  the overhead of accessing  all the QSYS
                 owned programs in subsequent uses of the command.

   ONELINEPER    Whether  to  print one  line per  program  or multiple
                 lines.    The  default   is  *NO,  meaning  to   print
                 multiple  lines if  it  is  applicable.   If  you  are
                 printing  *ALL or  *ALLIBM, you  may generate  a large
                 spooled  file.   A *YES  value will  reduce the number
                 of pages, but you will lose some information.

Restrictions
------------

To specify  an  individual  user profile,  you  must be  authorized  to
access  the user profile.   To  specify one  of the  *ALLxxx functions,
you must have the special authority *ALLOBJ (e.g.  QSECOFR).

Prerequisites
-------------

The following TAA Tools must be on your system:

     CHK400CMD    Check i5/OS commands
     CHKIBMPRF    Check IBM profile
     CHKRPGCALL   Check RPG CALLs
     EXTLST       Extract list
     SNDCOMPMSG   Send completion message
     SNDESCMSG    Send escape message
     SNDSTSMSG    Send status message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   PRTADPPGM     *CMD                   TAASECU       QATTCMD
   TAASECUC      *PGM       CLP         TAASECUC      QATTCL
   TAASECUC2     *PGM       CLP         TAASECUC2     QATTCL
   TAASECUR      *PGM       RPG         TAASECUR      QATTRPG

Structure
---------

PRTADPPGM   Cmd
   TAASECUC   CL pgm
     TAASECUR   RPG Pgm
       TAASECUC2  CL pgm
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top