TAA Tools
DSPJOBSTRA      DISPLAY JOB START ATTR                 TAAJOBT

The Display  Job Start  Attributes command  displays information  about
how a job was started.

A typical command would be:

          DSPJOBSTRA    JOB(xxxx)

By  default, the  highest job number  for the  specified name  would be
displayed.

The  information includes such things as  the job queue, the subsystem,
when the job  entered the system,  when the job  was started, the  user
who submitted  the job, etc.   Depending on  the status of the  job (e.
g.   on the job queue, active,  etc.), some information is not provided
by the system.

The tool  uses  the  RTVJOBSTRA tool  which  uses APIs  to  access  the
information.

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

   JOB           The qualified job  name of the job.  The  default is *
                 meaning the current job.

                 A  single job name, the  job name plus  the user name,
                 or a fully qualified job name may be entered.

                 If  no  jobs  are  active  for  the  name   specified,
                 TAA9883 is sent as an escape message.

   STATUS        The status  of the job  to be  accessed.  The  default
                 is *ALL.   *ACTIVE, *JOBQ  or *OUTQ may  be specified.

   DUPJOBRQS     The  request  for  which job  to  return  if duplicate
                 jobs exist.   The default  is *LAST  for the last  job
                 (highest job  number) with  a duplicate name  based on
                 the values entered.

                 *FIRST  may  be specified  for the  first  job (lowest
                 job number).

                 *FIRSTDATE may  be specified  to return  the job  with
                 the  lowest   date/time  that  the  job   entered  the
                 system.   This may be  helpful if the  command is used
                 when job numbers wrap.

                 *LASTDATE may  be specified  to  return the  job  with
                 the  highest  date/time  that  the   job  entered  the
                 system.   This may be  helpful if the  command is used
                 when job numbers wrap.

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

The  command can only be  executed interactively or in  a program in an
interactive job.

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

The following TAA Tools must be on your system:

     RTVJOBSTRA      Retrieve job start info

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

None, the tool is ready to use.

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

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

   DSPJOBSTRA    *CMD                   TAAJOBT       QATTCMD
   TAAJOBTC      *PGM       CLP         TAAJOBTC      QATTCL
   TAAJOBTD      *FILE      DSPF        TAAJOBTD      QATTDDS
					

Added to TAA Productivity tools May 1, 1996


Home Page Up to Top