DSPFLDA         DISPLAY FIELD ATTRIBUTES               TAADBHQ

 The Display  Field Attributes  command displays  information about  the
 attributes of  a single field in a  file.  The file must  be a physical
 or single format logical file.

 A typical command would be:

               DSPFLDA      FILE(ABC) FIELD(CUST)

 The  CPP  can  be  accessed  directly from  any  program  by  using the
 following parameter list such as in RPG:

      C                     CALL 'TAADBHQC'
      C                     PARM           FULFIL 20
      C                     PARM           FIELD  10

 The FULFIL parameter must be  specified with the file name in  1-10 and
 the library name in 11-20.

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

    FILE          The  qualified file  name of  the file.    The library
                  value  defaults   to  *LIBL.    *CURLIB  may  also  be
                  specified.

    FIELD         The field in  the file to  the display the  attributes
                  of.

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

 The field must exist in a physical or single format logical file.

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

 The following TAA Tools must be on your system:

      RTVFLDA         Retrieve field attributes

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

 None, the tool is ready to use.

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

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

    DSPFLDA       *CMD                   TAADBHQ       QATTCMD
    TAADBHQC      *PGM       CLP         TAADBHQC      QATTCL
    TAADBHQD      *FILE      DSPF        TAADBHQD      QATTDDS

Added to TAA Productivity Tools May 1, 1996


Home Page

Powered by AS/400Powered by AS/400 Last modified on July 15, 2010 © 1995, 2010 - Jim Sloan, Inc.