TAA Tools
DSPACGCDE       DISPLAY JOB ACCOUNTING CODES           TAAACGH

The  Display Job  Accounting  Codes  command  displays a  list  of  job
accounting  codes in  code  sequence from  both User  Profiles  and Job
Descriptions.    This  simplifies  understanding  what  Job  Accounting
Codes exist and where they are defined.

You must have *ALLOBJ special authority to use DSPACGCDE.

A typical command would be:

            DSPACGCDE

An  outfile  of   user  profiles  and   another  outfile  of  all   job
descriptions on  the system  would be created.   If an  accounting code
exists  in either file,  a record  would be written  to a  work file in
QTEMP.  The  work file  would be read  and a listing  displayed in  job
accounting code sequence.

Any  accounting  code information  that  is  blank  or *NONE  would  be
bypassed.    Any JOBDs  with an  accounting  code of  *USRPRF  are also
bypassed.  By default an accounting  code of *SYS (used by system  user
profiles) would be bypassed.

DSPACGCDE escape messages you can monitor for
---------------------------------------------

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

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

   BYPSYS        A  *YES/*NO  parameter  for  whether   to  bypass  the
                 accounting  code  value  of  *SYS  which  is  used  in
                 several user profiles provided by the system.

                 *YES is the default to bypass these values.

                 *NO  may  be specified  to  include the  user profiles
                 with *SYS specified.

   OUTPUT        How to  output  the  results.   *  is the  default  to
                 display  the spooled  file if  the command  is entered
                 interactively.   The spooled file  is deleted after it
                 is displayed.

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

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

You must have *ALLOBJ special authority to use DSPACGCDE.

Accounting codes set by CHGACGCDE and CHGPJ are not considered.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTJOBD         Convert job descriptions to an outfile
     DUPTAADBF       Duplicate TAA data base file
     RTVSYSVAL3      Retrieve system value 3
     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
   ------        ----    ---------      ----------    ----------

   DSPACGCDE     *CMD                   TAAACGH       QATTCMD
   TAAACGHC      *PGM       CLP         TAAACGHC      QATTCL
   TAAACGHR      *PGM       RPG         TAAACGHR      QATTRPG
   TAAACGHP      *FILE      PF          TAAACGHP      QATTDDS
					

Added to TAA Productivity tools April 15, 2010


Home Page Up to Top