TAA Tools
CVTFMT          CONVERT FORMAT                         TAAFILB

The  Convert Format  tool  creates  an outfile  of  the formats  for  a
specified file,  generic files, or all files in  a library.  One record
per format is output.  The API QUSLRCD is used.

The  outfile  is named  FILFMTP with  a record  name  of FILFMTR.   The
model file is TAAFILBP in TAATOOL with a format of FILFMTR.

A typical command would be:

             CVTFMT        FILE(QGPL/*ALL) OUTLIB(xxx)

All files  would be  found in QGPL.   One  record per  format for  each
file would be output.

Command parameters                                    *CMD

   FILE          The  qualified name  of  the  file to  be  output.   A
                 specific  file, a generic  name, or  the special value
                 *ALL may  be  used.   The  library value  defaults  to
                 *LIBL.  *CURLIB may also be used.

   OUTLIB        The  library  to  contain   the  FILFMTP  file.    The
                 default  is  *LIBL meaning  the  file  already exists.
                 If the file  does not exist,  a specific library  must
                 be used.

   OUTMBR        The  member to  be  used in  the  FILFMTP file.    The
                 default is FILFMTP.

   REPLACE       A  *YES/*NO value  for  whether the  member  should be
                 cleared  before writing records into  it.  The default
                 is *YES.

                 *NO may  be specified  to add records  to the  FILFMTP


You must have authority to a file to retrieve the formats.


The following TAA Tools must be on your system:

     CHKGENERC       Check generic
     CHKOBJ3         Check object 3
     DUPFILFMT       Duplicate file format
     EDTVAR          Edit variable
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message
     TAAEXC          TAA Execute command


None, the tool is ready to use.

Objects used by the tool

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

   CVTFMT        *CMD                   TAAFILB       QATTCMD
   TAAFILBC      *PGM       CLP         TAAFILBC      QATTCL
   TAAFILBR      *PGM       RPG         TAAFILBR      QATTRPG
   TAAFILBP      *FILE      PF          TAAFILBP      QATTDDS

Added to TAA Productivity tools August 1, 1998

Home Page Up to Top