TAA Tools
CVTUSRSPCA      CONVERT USER SPACE ATTRIBUTES          TAASPCR

The Convert User Space  Attributes command builds an outfile  of one or
more User  Space objects.  The  outfile created is named  USRSPCP.  The
outfile  may then be queried for  consistency or searching for specific
values such  as those  user space  objects containing  the Auto  Extend
function.

The model  file is  TAASPCRP with a  format name of  USRSPCR.   You can
display the model file with DSPFMT TAASPCRP.

You  must have *ALLOBJ authority to use  a library qualifier of *ALL or
*ALLUSR.

A typical command would be:

             CVTUSRSPCA   USRSPC(xxx) OUTLIB(QTEMP)

The named User  Space objects would  be converted to  the USRSPCP  file
in QTEMP.  There would be one record for each User Space object.

CVTUSRSPCA escape messages you can monitor for
----------------------------------------------

      TAA9891    No *USRSPC object types in the library.

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

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

   USRSPC        The  qualified name  of the  User Space  object to  be
                 converted.   *ALL is the default.   A specific name or
                 a generic name may also be entered.

                 The  library  value  defaults  to  *USRLIBL.    *LIBL,
                 *CURLIB, *ALLUSR, or *ALL may also be used.

   OUTLIB        The  library  in  which  the   USRSPCP  file  will  be
                 placed.   The default is  *LIBL.  If  the USRSPCP file
                 does  not already exist, a  library must be specified.

   OUTMBR        The member  of the USRSPCP  file to be  used.  If  the
                 member does  not exist, it  is added.  The  default is
                 USRSPCP.

   REPLACE       A  *YES/*NO  value for  whether the  member  should be
                 cleared before writing records  into it.  The  default
                 is *YES.

                 *NO  may  be  specified to  add  records  to  existing
                 data.

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

None.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     DUPTAADBF       Duplicate TAA data base file
     EDTVAR          Edit variable
     RTVUSRSPCA      Retrieve user space attributes
     RTVSYSVAL3      Retrieve system value 3
     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
   ------        ----    ---------      ----------    ----------

   CVTUSRSPCA    *CMD                   TAASPCR       QATTCMD
   TAASPCRC      *PGM       CLP         TAASPCRC      QATTCL
   TAASPCRR      *PGM       RPG         TAASPCRR      QATTRPG
   TAASPCRP      *FILE      PF          TAASPCRP      QATTDDS
					

Added to TAA Productivity tools July 15, 2003


Home Page Up to Top