TAA Tools
CHKPGMATR       CHECK PROGRAM ATTRIBUTE                TAAPGNR

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

A typical command would be:

             CHKPGMATR    PGM(xxx) FILATR(RPG RPG38)

If the  named program  is not an  RPG or RPG38  type, TAA9896  would be
sent  as  an escape  message.   The  message would  describe  the valid
types.

CHKPGMATR escape messages you can monitor for
---------------------------------------------

      TAA9896    Named program attribute is not in the list

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

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

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

   PGMATR        A list  of one or more file  attributes such as RPG or
                 RPG38 to  check against  the  attribute of  the  named
                 program.   Up to 15  attributes may  be entered.   Use
                 the command prompter for the complete list.

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

None.

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

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

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

None, the tool is ready to use.

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

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

   CHKPGMATR     *CMD                   TAAPGNR       QATTCMD
   TAAPGNRC      *PGM       CLP         TAAPGNRC      QATTCL
					

Added to TAA Productivity tools January 1, 2007


Home Page Up to Top