TAA Tools
DSPFMTSEQ       DISPLAY FORMAT SEQUENCE                TAADBNT

The Display Format Sequence  command displays the fields in  a physical
or  single format logical  file in various  sequences such as  by field
name  or type and  length.  When a  file has a  large number of fields,
DSPFMTSEQ may be helpful in reviewing the fields in the format.

A typical command would be:

              DSPFMTSEQ FILE(xxx)

The default  is to  display the  fields by  field name.   This  differs
from  DSPFFD or  TAA  DSPFMT which  display  fields in  the order  they
exist in the format.

DSPFMTSEQ escape messages you can monitor for
---------------------------------------------

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

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

   FILE          The  qualified name of  the file to be  displayed.  It
                 must be a  physical or single  format data base  file.

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

   SEQ           The sequence to display the fields.

                 *FLDNAM is the default to display by field name.

                 *FLDTXT  may  be  specified to  display  by  the field
                 text description.

                 *TYPNAM may  be specified  to  display by  field  name
                 within field type.

                 *TYPLEN may  be specified to  display by  field length
                 within field type.

                 *INPBUF  may be specified  to display by  the location
                 of  the field in  the input buffer.   This is the same
                 sequence  as  used   by  DSPFFD  or  the   TAA  DSPFMT
                 command.

   OUTPUT        How  to output  the  results.   *  is  the default  to
                 display  the spooled  file if  the command  is entered
                 interactively.  If  the display  is ended with  F3/F12
                 or the  Enter key, the  spooled file is  deleted after
                 it  is displayed.   To  retain  the spooled  file, you
                 may use the the  System Request 'Cancel' function  and
                 the spooled file will exist in a HLD status.

                 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:

     RSNLSTMSG       Resend last message
     RTVDBFA         Retrieve data base attributes
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SORTDBF         Sort data base file

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

None, the tool is ready to use.

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

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

   DSPFMTSEQ     *CMD                   TAADBNT       QATTCMD
   TAADBNTC      *PGM       CLP         TAADBNTC      QATTCL
   TAADBNTR      *PGM       RPG         TAADBNTR      QATTRPG
					

Added to TAA Productivity tools January 15, 2013


Home Page Up to Top