TAA Tools
DSPDBFFLD       DISPLAY DATA BASE FIELD                TAADBNH

The   Display  Data   Base  Field   command   displays  the   attribute
information for  a field in a physical file  or a single format logical
file.    The  attributes include  such  things as  the  length, decimal
positions, buffer position  in the record,  text, and column  headings.

A typical command would be:

             DSPDBFFLD  FILE(FILEA) FIELD(ABC)

The attribute  information for field  ABC in FILEA would  be displayed.

DSPDBFFLD escape messages you can monitor for
---------------------------------------------

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

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

   FILE          The  qualified name of  the file  containing the field
                 to be  displayed.  It  must be  a physical  file or  a
                 single format logical file.

                 The  library value  defaults  to  *LIBL.   A  specific
                 library or *CURLIB may also be used.

   FIELD         The field to display attribute information for.

   OUTPUT        How  to  output the  results.   *  is  the  default to
                 display the  spooled file  if the  command is  entered
                 interactively.  The  spooled file is deleted  after it
                 is displayed.

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


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

None.

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

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVDBFA         Retrieve data base file attributes
     RTVFLDA         Retrieve field attributes
     RTVSYSVAL3      Retrieve system value 3
     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
   ------        ----    ---------      ----------    ----------

   DSPDBFFLD     *CMD                   TAADBHN       QATTCMD
   TAADBNHC      *PGM       CLP         TAADBNHC      QATTCL
   TAADBNHR      *PGM       RPG         TAADBNHR      QATTRPG
					

Added to TAA Productivity tools April 15, 2012


Home Page Up to Top