TAA Tools
CHKAUDVAL       CHECK AUDIT VALUE                      TAASEIC

The Check Audit Value  command checks a list of  specified audit values
such  as  *AUTFAIL  against the  values  in  the  QAUDLVL and  QAUDLVL2
system  values.    If  one  of the  specified  values  does  not exist,
TAA9891 is sent  as an escape  message.  If you  are not authorized  to
retrieve  system  value  information,  TAA9892  is sent  as  an  escape
message.

If  the specified value is not a  valid Audit Value, the TAA9891 escape
message is also sent (there is  no check to ensure the specified  Audit
Values are supported by the system).

A typical series of commands would be:

             CHKAUDVAL  AUDVAL(*AUTFAIL *JOBBAS)
             MONMSG     MSGID(TAA9891) EXEC(DO) /* Not specified */
             RMVMSG     MSGTYPE(*LAST)
             SNDESCMSG  MSG('Both audit values *AUTFAIL and *JOBBAS +
                          must be specified to use this function')
             ENDDO      /* Not specified */

CHKAUDVAL escape messages you can monitor for
---------------------------------------------

      TAA9891    One or more audit values do not exist.
      TAA9892    Not authorized to retrieve system value info

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

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

   AUDVAL        A list  of up to  10 audit  values to be  checked for.
                 A  value such as  *AUTFAIL must  be entered.   See the
                 QAUDLVL2 system value for the valid values.


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

None.

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

The following TAA Tools must be on your system:

     EXTLST          Extract list
     SCNVAR          Scan variable
     SNDDIAGMSG      Send diagnostic 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
   ------        ----    ---------      ----------    ----------

   CHKAUDVAL     *CMD                   TAASEIC       QATTCMD
   TAASEICC      *PGM       CLP         TAASEICC      QATTCL
					

Added to TAA Productivity tools April 15, 2009


Home Page Up to Top