DSPACGRCD       DISPLAY JOB ACCOUNTING RECORD          TAAACGC

 The Display  Job Accounting Record  command allows  you to display  the
 last accounting  information for a job name or  user name.  The display
 includes  the same  information as  exists in  the Job  Accounting tool
 detail display.  (the  JOBACG tool is a  pre-requisite).  You may  roll
 to previous records for the user or job.

 A typical command would be:

              DSPJOBACG

 This would  display the last  job (found in  the JOBACGP file)  for the
 current user.

 Another  typical command  would be  to display  the the  job accounting
 record for a specific job:

              DSPJOBACG   NAME(JOB1) TYPE(*JOB)

 A typical command to display the last job for a user would be:

              DSPJOBACG   NAME(USER1) TYPE(*USER)

 A count of  the duplicate job  names would be  included along with  the
 date  and time  of the  first  duplicate name.    You may  roll to  the
 previous jobs of the same name.

 Conversion of job accounting journal entries
 --------------------------------------------

 The  information is displayed  from the JOBACGP  file which is  part of
 the JOBACG  tool.   To keep  the  file up  to date,  you must  use  the
 CVTJOBACG command  (part of  JOBACGP) or  the separate tool  CVTJOBACG3
 which allows  the conversion of  the job accounting  journal entries as
 they are added to the journal.

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

    NAME          Either  a  user name  or a  job  name must  be entered
                  based on  the TYPE  parameter.   The  name entered  is
                  used  to access  the last  job accounting  record with
                  the same name.

                  The  default is *CURRENT  which may only  be used when
                  TYPE(*USER) is specified.   It  will display the  last
                  job in  the file  for the  current user.   A  specific
                  user name may also be entered.

                  A job  name may be entered  with TYPE(*JOB) to display
                  the last job for the specific job name.

    TYPE          The type of  request (either  *JOB or  *USER).   *USER
                  is the default  to access by  user name.  *JOB  may be
                  entered to access by job name.

    SYSTEM        The  system  to be  accessed  for  the job  accounting
                  records.     The   Job  Accounting   tool  allows  job
                  accounting  records  from   multiple  systems  to   be
                  stored  in the  same file.   The  default  is *CURRENT
                  meaning the current system.

    JOBACGLIB     The  name  of  the library  where  the  Job Accounting
                  files exist.    The default  is  *LIBL.   *CURLIB  may
                  also be  used.   The files must  have been  created by
                  the JOBACG TAA Tool.

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

 The   JOBACG  tool  must  be   used  to  create   the  required  files.
 Conversion of  the  entries  from  the QACGJRN  is  required  (see  the
 JOBACG tool).

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

 The following TAA Tools must be on your system:

      JOBACG          Job Accounting
      SNDESCMSG       Send escape message

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

 None, the tool is ready to use.

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

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

    DSPACGRCD     *CMD                   TAAACGC       QATTCMD
    TAAACGCC      *PGM       CLP         TAAACGCC      QATTCL
    TAAACGCR      *PGM       RPG         TAAACGCR      QATTRPG
    TAAACGCD      *FILE      DSPF        TAAACGCD      QATTDDS

Added to TAA Productivity Tools October 1, 1997


Home Page

Powered by AS/400Powered by AS/400 Last modified on January 12, 2010 © 1995, 2010 - Jim Sloan, Inc.