TAA Tools
CVTOWNOBJ          CONVERT OWNED OBJECTS                  TAASEKH

The Convert Owned Objects command is similar to the system DSPUSRPRF
TYPE(*OBJOWN) outfile, but provides substantially more information.

The Convert Owned Ojects command creates an outfile of the specified
user profile's owned objects.  This list includes both QSYS (system)
objects as well as objects in the Integrated File System (IFS).

The file can then be processed by SQL or user written programs to
extract desired information.

You must have *ALLOBJ special authority to specify a user profile
that is not your own.

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

   USRPRF        The name of the user profile to convert owned
                 objects for.

                 The default for the USRPRF name portion is *CURRENT.
                 A specific user profile or *CURRENT may be
                 specified.

   OBJ           The name or generic name of the objects to convert.
                 *ALL may be specified for all objects.

   LIB           The name or generic name of the library to convert
                 objects for.  *ALL may be specified for all
                 libraries.

   IFSPTHPTN     This is a three element list.

                 The first element is the name pattern to match in a
                 generic search.  You may have multiple wildcards in
                 a pattern.  A wildcard matches the shortest string
                 of 0 or more characters until the next specified
                 string.

                 For example, '*abc*.txt' will match objects with an
                 extension of 'txt' and where 'abc' occurs in any
                 location other than in the extension.  The default
                 is * which will match all objects if the wildcard is
                 *.

                 The second element of this list is optional and
                 specifies if the match respects or ignores case.
                 The values are *RESPECT and *IGNORE.  The default is
                 *IGNORE.

                 The third element of this list is optional and
                 specifies the wildcard character.  This defaults to
                 *, but may be another single-byte character.  This
                 reduces the need to "triple-quote" pattern strings
                 to select certain files.

   OBJTYPE       The object type of the owned objects to be included
                 in the outfile.  *ALL is the default.  If an object
                 type is entered, only the owned objects of the type
                 will be included.  For a list of the valid types,
                 use the prompter.

   OUTFILE       The name and library of the file that will receive
                 the output.  The default outfile name is OWNOBJP.
                 The library defaults to *LIBL.  *LIBL may not be
                 used if the file does not exist on the library list.

                 The model file for this is TAATOOL/TAASEKHP.

   OUTMBR        This is a two-element list that names the member of
                 the outfile and how the records are to be written.

                 The first element is the name of the member to
                 receive the output.  The default is *FIRST which
                 names the first member of the output file.

                 The second element is *REPLACE or *ADD.  Records to
                 be written to the member will either replace the
                 ones in the member or be added to the end.  The
                 default is *REPLACE.


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

None, the tool is ready to use.

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

The following TAA Tools must be on your system:

    ADJAPOST        Adjust Apostrophes
    CHKALLOBJ       Check All Object Authority
    CHKGENOBJ       Check Generic Objects
    CHKGENERC       Check Generic Variable

    CHKOBJ3         Check Object 3
    DUPTAADBF       Duplicate TAA Database File
    RSNLSTMSG       Resend Last Message
    SNDCOMPMSG      Send completion message
    SNDESCINF       Send Escape Information
    SNDESCMSG       Send Escape Message

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

None, the tool is ready to use.

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

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

   CVTOWNOBJ     *CMD                   TAASEKH       QATTCMD
   TAASEKHC      *PGM    CLLE           TAASEKHC      QATTCL
   TAASEKHR      *PGM    SQLRPGLE       TAASEKHR      QATTRPG
   TAASEKHHC     *PNLGRP                TAASEKHHC     QATTUIM

Structure
---------

CVTOWNOBJ   Cmd
   TAASEKHC   CL pgm
     TAASEKHR   RPGLE Pgm - SEKH
					

Added to TAA Productivity tools August 15, 2025


Documentation Home Return to the Tool List Up to Top