TAA Tools
PRTOWNOBJ       PRINT OWNED OBJECTS                    TAASEFV

The Print  Owned Objects  command prints  a listing  of owned  objects.
The   command  is  similar   to  the  system   DSPUSRPRF  TYPE(*OBJOWN)
function,  but provides better  output (such as  last change date, last
used date,  size, etc).   You can  select on  the last use  date and  a
minimum size to reduce the number of objects that will be listed.

PRTOWNOBJ can be used to help cleanup when:

  **   A user profile is no longer needed

  **   When  users   need  to  cleanup  unused   or  excessively  large
       objects.

No  IFS  objects  are included  with  PRTOWNOBJ.   Use  the  DSPIFS TAA
command and specify the OWNER parameter.

You must  have  *ALLOBJ authority  to specify  a  user other  than  the
current user.

A typical PRTOWNOBJ command would be:

            PRTOWNOBJ      USRPRF(xxxx)

A listing of the objects would be output in library order.

PRTOWNOBJ escape messages you can monitor for
---------------------------------------------

None.  Escape messages from based on functions will be re-sent.

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

   USRPRF        The  user profile  to  print  the owned  objects  for.
                 The default is *CURRENT.

                 You  must have *ALLOBJ special  authority to specify a
                 user profile other than your own.

   SELUSEDAYS    The number of days since  the last use date to  select
                 on.

                 0 is  the  default meaning  there is  no selection  on
                 the last use date.

                 A  number of days  may be  entered to list  only those
                 objects  which  have never  been used  or not  used in
                 the number of days specified.

                 This function is  'anded' with the  SELSIZE parameter.
                 Both conditions must be met to list an object.

   SELSIZE       The size of the object to be select on.

                 0  is the  default meaning  there is  no  selection on
                 the size.

                 A  minimum  size may  be  entered to  list  only those
                 objects that are equal to  or greater than the  number
                 entered.

                 This   function  is   'anded'   with  the   SELUSEDAYS
                 parameter.   Both  conditions must be  met to  list an
                 object.

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

You must  have *ALLOBJ  special  authority to  specify a  user  profile
other than *CURRENT.

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

The following TAA Tools must be on your system:

     ADDDAT          Add date
     CHKALLOBJ       Check *ALLOBJ special authority
     CHKOBJ3         Check object 3
     CVTDAT          Convert date
     RPGSTSDS        RPG status data structure
     RTVOBJD2        Retrieve object description 2
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion 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
   ------        ----    ---------      ----------    ----------

   PRTOWNOBJ     *CMD                   TAASEFV       QATTCMD
   TAASEFVC      *PGM       CLP         TAASEFVC      QATTCL
   TAASEFVR      *PGM       RPG         TAASEFVR      QATTRPG
					

Added to TAA Productivity tools August 15, 2003


Home Page Up to Top