TAA Tools
CVTUSRIDX       CONVERT USER INDEX                     TAAIDXG

The Convert User Index  command creates an outfile of  the entries from
a user  index.  The outfile  includes fields for the  attributes of the
user  index as well as  the entry information.   The outfile created is
named USRIDXP.

The model file is TAAIDXGP with a format name of USRIDXR.

A typical command would be:

             CVTUSRIDX     USRIDX(xxx) OUTLIB(QTEMP)

A record would be written to  the USRIDXP file in QTEMP for  each entry
in the user index.

CVTUSRIDX escape messages you can monitor for
---------------------------------------------

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

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

   USRIDX        The   qualified  name   of  the   user  index   to  be
                 converted.    The  library  value  defaults  to *LIBL.
                 *CURLIB may also be used.

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

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

   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:

     ABORT           Abort
     CHKOBJ3         Check object 3
     DUPFILFMT       Duplicate file format
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVSYSVAL3      Retrieve system value 3
     RTVUSRIDXA      Retrieve user index attributes
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDDIAGMSG      Send diagnostic message
     SNDSTSMSG       Send status message
     USRIDX          User index

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

None, the tool is ready to use.

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

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

   CVTUSRIDX     *CMD                   TAAIDXG       QATTCMD
   TAAIDXGC      *PGM       CLP         TAAIDXGC      QATTCL
   TAAIDXGR      *PGM       RPG         TAAIDXGR      QATTRPG
   TAAIDXGP      *FILE      PF          TAAIDXGP      QATTDDS
					

Added to TAA Productivity tools June 15, 2004


Home Page Up to Top