TAA Tools
DSPJOBSCDR      DISPLAY JOB SCHEDULE RESULTS           TAAJBSI

The Display  Job Schedule Result  command displays  the results of  Job
Scheduled  jobs (how  they  completed) for  the last  submission.   The
JOBACG  tool must  be in  use and  the job  accounting entries  must be
current for  the  completed Job  Scheduled  jobs to  obtain  meaningful
results.    Jobs submitted  from  the  WRKJOBSCDE 'Submit  Immediately'
function   or   the  SBMJOBSCDE   TAA  command   are   not  considered.
DSPJOBSCDR  assists  in   understanding  what   is  happening  to   Job
Scheduled jobs.

The  user  of  the  command  must   be  authorized  to  the  TAAJOBSCDE
authorization list and have *JOBCTL special authority.

Two important considerations exist:

  **   The  JOBACG must be in  use and the  entries must be  up to date
       as converted by  the CVTJOBACG command.   If you  are not  using
       job  accounting, see  the JOBACG  tool  for how  to  set up  job
       accounting, the  JOBACG files, and  how to convert  entries from
       the QACGJRN journal.

  **   Any  job schedule  jobs run  by the  'Submit Immediately' option
       from  WRKJOBSCDE   or  the  SBMJOBSCDE   TAA  command  are   not
       considered.

A typical command would be:

            DSPJOBSCDR

A listing would  be displayed with one line for  each Job Scheduled job
and its completion code.

If  the job accounting  entries do not  exist for the last  submit of a
Job Schedule job,  the job is  flagged and the  completion code  cannot
be determined.

DSPJOBSCDR escape messages you can monitor for
----------------------------------------------

      TAA9891    The JOBACGP file is not found

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

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

   JOB           The name  or generic name of  the job schedule  job to
                 be listed.   *ALL is the default  for all Job Schedule
                 Jobs.

   JOBACGLIB     The library where the JOBACGP  file exists.  *LIBL  is
                 the default.  The  file must have been created  by the
                 JOBACG tool  and the entries  must exist for  the jobs
                 displayed to obtain meaningful results.

                 A specific library or *CURLIB may also be entered.

                 The  special  value *NONE  may be  used if  the JOBACG
                 tool is  not being use.   The  listing occurs  without
                 the job completion code.

   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
------------

The  user  of  the  command  must  be  authorized  to  the   TAAJOBSCDE
authorization list and have *JOBCTL special authority.

The JOBACGP  file must  have been created  by the  JOBACG tool  and the
entries  must  exist  for  the  jobs  displayed  to  obtain  meaningful
results.

Any  job  schedule jobs  run by  the  'Submit Immediately'  option from
WRKJOBSCDE or the SBMJOBSCDE TAA command are not considered.

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

The following TAA Tools must be on your system:

     CHKDBFMBR       Check data base file member
     CVTJOBSCDE      Convert job schedule entries
     CVTDAT          Convert date
     CVTTIM          Convert time
     JOBACG          Job accounting
     RTVJOBSTS       Retrieve job status
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion 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
   ------        ----    ---------      ----------    ----------

   DSPJOBSCDR    *CMD                   TAAJBSI       QATTCMD
   TAAJBSIC      *PGM       CLP         TAAJBSIC      QATTCL
   TAAJBSIC2     *PGM       CLP         TAAJBSIC2     QATTCL
   TAAJBSIR      *PGM       RPG         TAAJBSIR      QATTRPG
   TAAJBSIR2     *PGM       RPG         TAAJBSIR2     QATTRPG
					

Added to TAA Productivity tools October 15, 2010


Home Page Up to Top