TAA Tools
DSPFMT          DISPLAY FORMAT                         TAADBHJ

The  Display Format  command  displays a  subfile  of the  fields  that
exist in  a physical file  or a single  format logical file.   This can
be  helpful when  attempting to  determine which  field name to  use or
detail information  about a field.   The  command may also  be used  to
print a simple listing.

A typical command would be:

             DSPFMT    FILE(xxx)

The  top of the  display describes  the qualified  file name,  the text
description of the file, and the format name.

The   subfile  display  describes  the   field  type,  length,  decimal
positions, and text.   An option may be  entered to display the  detail
information about  the field  such as the  buffer location,  the column
headings, the field reference information, etc.

If  the  OUTPUT(*PRINT)  option is  used,  an  80  wide printed  output
occurs.

The SCREENSIZE(*WIDE) option  can be used  to see the  alias names  and
column headings of the fields.

Once on the  screen F9 may be used  to display the access path  for the
file,  F10 can toggle  between wide  and normal  views, and F11  can be
used to cycle the alias names and column headings.

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

   FILE          The  qualified  file name  of the  file.   The library
                 value  defaults  to  *LIBL.    *CURLIB  may  be  used.
                 Either  a physical  file  or a  single format  logical
                 file  may be  specified if  the interactive  option is
                 used.

   OUTPUT        How the  output  should  be  displayed.    *  means  a
                 display    appears   if    the    command   is    used
                 interactively.   If  the command  is  run in  batch or
                 *PRINT is specified, a spooled file is output.

   SCREENSIZE    Specifies the width  of the  initial screen.   A  wide
                 display  can show  some  SQL  specific long  names  if
                 those  exist.   *NORMAL  opens an  80  column display.
                 *WIDE  opens  a  132  column  display  if  the display
                 supports it.

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

Only a physical or single  format logical file may be specified  if the
interactive option is used.

The  RTVFLDARR tool used  to access  the information  allows up  to 998
fields in a file.

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

The following TAA Tools must be on your system:

     DSPACCPTH       Display access path
     FILEFDBCK       File feedback
     RTVFLDARR       Retrieve field array
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   DSPFMT        *CMD                   TAADBHJ       QATTCMD
   TAADBHJC      *PGM       CLP         TAADBHJC      QATTCL
   TAADBHJC12    *PGM       CLP         TAADBHJC12    QATTCL
   TAADBHJR      *PGM       RPG         TAADBHJR      QATTRPG
   TAADBHJR2     *PGM       RPG         TAADBHJR2     QATTRPG
   TAADBHJR12    *PGM       RPG         TAADBHJR12    QATTRPG
   TAADBHJD      *FILE      DSPF        TAADBHJD      QATTDDS

Structure
---------

DSPFMT      Cmd
   TAADBHJC   CL pgm
     TAADBHJR    RPG Pgm  - Interactive display
       TAADBJD     Display  file
     TAADBHJR2   RPG pgm  - Print program
       TAADBHPC2  CL  pgm  - Accesses key information - DSPACCPTH
         TAADBHPR2  RPG pgm  - Prints key information - DSPACCPTH
					

Added to TAA Productivity tools May 1, 1996


Home Page Up to Top