TAA Tools
CHKJOBACGP      CHECK JOBACGP                          TAAACGI

The Check  JOBACGP command checks  audit entries  for valid changes  to
the  JOBACG TAA Tool  JOBACGP file.   CHKJOBACGP helps ensure  that the
JOBACGP  file is  a true  representation of  the QACGJRN journal.   You
must be  using  the  QACGJRN journal  and  have  set auditing  for  the
JOBACGP file.

You must have *ALLOBJ authority to use CHKJOBACGP.

You  must  have at  least  *OBJAUD  specified  for the  QAUDCTL  system
value.

You  must be using the  QAUDJRN journal and  have specified auditing of
JOBACGP with:

              CHGOBJAUD OBJ(xxx/JOBACGP) OBJTYPE(*FILE)
                          OBJAUD(*CHANGE)

If  you are  going  to  test  the  use  of  a  command  that  would  be
considered an  exception, enter  a CHGPF  command without  changing any
values such as:

              CHGPF     FILE(JOBACGP)

Then signoff, signon and use both

              CVTJOBACG
              CVTAUDLOG

A typical CHKJOBACGP file would be:

              CHKJOBACGP

A  listing would be  output of  all journal code  = T (audit  type) and
the entry types of:

              ZC = Change
              AD = CHGOBJAUD

Any changes that were not made by :

              CVTJOBACG
              CVTJOBACG3
              MTNJOBACG

would be flagged.   The program  that made the change  would be  noted.
However, if  the change was  made using a  system command, the  program
that is higher  in the stack is noted.  For  example, if the change was
made  from the QCMD entry  display, QCMD is listed  as the program that
made the change.

The actual command that was  issued will be listed if the user  who has
entered  a change  is  being  audited for  commands  via the  CHGUSRAUD
function.

CHKJOBACGP escape messages you can monitor for
----------------------------------------------

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

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

   STRDATE       The  start  date to  be used  when  converting journal
                 entries.   *BEGIN is  the  default meaning  the  first
                 journal entry  found in the  chain of  QAUDJRN journal
                 receivers.    A specific  date  in job  format  may be
                 entered.

   ENDDATE       The end  date  to  be  used  when  converting  journal
                 entries.    *END  is  the  default  meaning  the  last
                 journal  entry found in  the chain of  QAUDJRN journal
                 receivers.    A specific  date  in job  format  may be
                 entered.

   JOBACGLIB     The library where the  JOBACGP file exists.  *LIBL  is
                 the default.

   OUTPUT        How  to output  the  results.   *  is  the default  to
                 display  the spooled  file if  the command  is entered
                 interactively.  If  the display  is ended with  F3/F12
                 or the  Enter key, the  spooled file is  deleted after
                 it  is displayed.   To  retain  the spooled  file, you
                 may use the the  System Request 'Cancel' function  and
                 the spooled file will exist in a HLD status.

                 If  the command  is  entered  in  batch or  *PRINT  is
                 specified,  the spooled file  is output  and retained.


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

You must have *ALLOBJ authority to use CHKJOBACGP.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTDAT          Convert date
     DSPJOBACG       Display job accounting
     RTVSYSVAL3      Retrieve system value 3
     SCNVAR          Scan variable
     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
   ------        ----    ---------      ----------    ----------

   CHKJOBACGP    *CMD                   TAAACGI       QATTCMD
   TAAACGIC      *PGM       CLP         TAAACGIC      QATTCL
   TAAACGIR      *PGM       RPG         TAAACGIR      QATTRPG
					

Added to TAA Productivity tools January 15, 2012


Home Page Up to Top