TAA Tools

The  Check  File  Attribute command  provides  a  simple  check  of  an
existing file  to ensure it has an attribute  that you want to process.
A  list of one or more valid file  attributes must be provided.  If the
attribute of the named file is  not in the list, TAA9896 is sent  as an
escape message.

A typical command would be:

             CHKFILATR    FILE(xxx) FILATR(PF PF38)

If the named  file is not a PF  or PF38 type, TAA9896 would  be sent as
an escape message.  The message would describe the valid types.

CHKFILATR escape messages you can monitor for

      TAA9896    Named file attribute is not in the list

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

Command parameters                                    *CMD

   FILE          The  qualified name  of the file  to be  checked.  The
                 library value  defaults to  *LIBL.   *CURLIB may  also
                 be used.

   FILATR        A list  of one or more  file attributes such as  PF or
                 PF38  to  check  against the  attribute  of  the named
                 file.  Up to  15 attributes may be  entered.  Use  the
                 command prompter for the complete list.




The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     EXTLST          Extract list
     RSNLSTMSG       Resend last message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

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

   CHKFILATR     *CMD                   TAAFILG       QATTCMD
   TAAFILGC      *PGM       CLP         TAAFILGC      QATTCL

Added to TAA Productivity tools January 1, 2007

Home Page Up to Top