TAA Tools
DSPUSRIDX       DISPLAY USER INDEX ENTRIES             TAAIDXF

The Display User Index  Entries command displays or prints  the entries
in  a user  index object.   Only  fixed length  keyed user  indexes are
supported  up  to  a  2000  byte maximum  entry  length.    The initial
display shows one line  per entry and allows  positioning to a key.   A
detail display is available with an option to display in hex.

A typical command would be:

            DSPUSRIDX      USRIDX(xxx)

The entries in the user index would be displayed.

Each  entry will  contain  a key  in  the high  order  position of  the
displayed data.

DSPUSRIDX escape messages you can monitor for
---------------------------------------------

      TAA9894    No entries exist

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

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

   USRIDX        The  qualified name  of the  user index to  display or
                 print entries  for.   The  library value  defaults  to
                 *LIBL.  *CURLIB may also be used.

   OUTPUT        How  to output  the  results.   *  is  the default  to
                 display   the  entries  if  the   command  is  entered
                 interactively.

                 If the  command  is  entered in  batch  or  *PRINT  is
                 specified, a spooled file is output.

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

Only fixed  length  keyed user  indexes are  supported  with a  maximum
entry length of 2000 bytes.

The maximum  value that can be  entered to cause a 'position  to' is 40
bytes.

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

The following TAA Tools must be on your system:

     CVTDSPDTA       Convert display data
     CVTHEX          Convert hex
     EDTVAR          Edit variable
     RTVUSRIDXA      Retrieve user index attributes
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     USRIDX          User index

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

None, the tool is ready to use.

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

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

   DSPUSRIDX     *CMD                   TAAIDXF       QATTCMD
   TAAIDXFC      *PGM       CLP         TAAIDXFC      QATTCL
   TAAIDXFC2     *PGM       CLP         TAAIDXFC2     QATTCL
   TAAIDXFR      *PGM       RPG         TAAIDXFR      QATTRPG
   TAAIDXFD      *FILE      DSPF        TAAIDXFD      QATTDDS
					

Added to TAA Productivity tools June 15, 2004


Home Page Up to Top