TAA Tools
DSPMLTFMT       DISPLAY MULTI-FORMAT FILES             TAADBLY

The  Display  Multi-Format  Files command  displays  or  lists  Logical
Files  that have  either multiple  formats or  are  joined files.   The
dependent  files  are  also  listed.   One  or  more  libraries  may be
specified with a request for a single, generic, or all files.

A typical command would be:

             DSPMLTFMT   LIB(ABC*)

All logical  files in  the library names  beginning with  ABC would  be
found.   Those files  that have either  multiple formats or  are joined
files would be listed and displayed.

You  must have  *ALLOBJ  special authority  to specify  a LIB  value of
*ALL or *ALLUSR.

The outfile  from DSPFD  TYPE(*ATR) FILEATR(*LF)  is used  to find  the
logical files.   The  system does  not consider a  joined file  to have
multiple formats,  but it is dependent on  multiple physical files.  If
either the file is noted  as a multi-format file  or a joined file,  it
is processed.   DSPFD with a FILEATR of  *ACCPTH and *JOIN are  used to
access the dependent files.

DSPMLTFMT escape messages you can monitor for
---------------------------------------------

      TAA9891    No logical files exist

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

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

   LIB           The  library name  containing the  logical files.   Up
                 to  300 names may  be entered for  single libraries or
                 generic library  names.  A  single value for  *CURLIB,
                 *USRLIBL,  *ALL, or  *ALLUSR may  be used.    See also
                 the OMITLIB parameter.

   FILE          The file name to be processed.

                 *ALL  is the default  for all  logical files specified
                 for the  LIB  parameter.   A  single  file name  or  a
                 generic name may be entered.

   LIBTYPE       The  library  type  to  be processed.    *ALL  is  the
                 default.  *PROD or *TEST may be specified.

   OMITLIB       A  list  of up  to  300 libraries  or  generic library
                 names that should be omitted.   *NONE is the  default.

                 An omit list may not be entered for LIB(*CURLIB).

                 No check occurs to  see if an omit library  would have
                 been  selected.    For  example, if  LIB(*USRLIBL)  is
                 entered  with OMITLIB(ABC)  and library ABC  is not on
                 the library list, no error occurs.

   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
------------

You  must have  *ALLOBJ special  authority  to specify  a LIB  value of
*ALL or *ALLUSR.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTLIBOBJD      Convert library object description
     EDTVAR          Edit variable
     EXTLST2         Extract list 2
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   DSPMLTFMT     *CMD                   TAADBLY       QATTCMD
   TAADBLYC      *PGM       CLP         TAADBLYC      QATTCL
   TAADBLYC2     *PGM       CLP         TAADBLYC2     QATTCL
   TAADBLYC3     *PGM       CLP         TAADBLYC3     QATTCL
   TAADBLYR      *PGM       RPG         TAADBLYR      QATTRPG
   TAADBLYR2     *PGM       RPG         TAADBLYR2     QATTRPG
   TAADBLYR3     *PGM       RPG         TAADBLYR3     QATTRPG

Structure
---------

DSPMLTFMT   Cmd
   TAADBLYC   CL pgm
     TAADBLYR   RPG Pgm
       TAADBLYC2  CL pgm - Does DSPFD *ACCPTH for non-join
          TAADBLYR2  RPG pgm - Prints non-join
       TAADBLYC3  CL pgm - Does DSPFD *JOIN
          TAADBLYR3  RPG pgm - Prints join
					

Added to TAA Productivity tools October 15, 2008


Home Page Up to Top