TAA Tools
WRKJOBSTG       WORK JOB STORAGE                       TAAJODO

The Work Job  Storage command provides a  work display or a  listing of
the temporary  storage used by active jobs.   Selection criteria exists
for  the  amount of  storage, by  job, and  by user.   This  provides a
simple  review of  the  amount  of  storage being  used.    *JOBCTL  is
required to use WRKJOBSTG.

A typical command would be:

             WRKJOBSTG     MINTMPSTG(10)

All  jobs  would  be displayed  that  have  used  more  than 10  MB  of
temporary  storage.  By  default, the  jobs appear in  order of storage
used in descending sequence.

WRKJOBSTG escape messages you can monitor for

         TAA9891     No jobs found based on selection criteria

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

Command parameters                                    *CMD

   MINTMPSTG     The minimum amount of temporary  storage in MB that  a
                 job  must be  using  to appear  in  the  output.   The
                 default is *NONE.

   JOB           The  job or  generic job  name to  be displayed.   The
                 default is *ALL.

   USER          The user or generic  user name to  be displayed.   The
                 default is *ALL.

   SEQ           How to sequence  the output.   The default is  *STG to
                 sequence in descending sequence by storage used.

                 *SBS  may be specified  to sequence by  subsystem name
                 in  descending order.   This will place  all jobs that
                 are not in a subsystem (such as SCPF) at the end.

                 *JOB may  be  specified to  sequence  by job  name  in
                 ascending sequence.

                 *USER  may be specified  to sequence  by user  name in
                 ascending sequence.

   OUTPUT        How  to  output the  results.    * is  the  default to
                 provide a  work  display  if the  command  is  entered

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


*JOBCTL is required.


The following TAA Tools must be on your system:

     CHKJOBCTL       Check *JOBCTL special authority
     CVTWRKACT       Convert WRKACTJOB
     EDTVAR          Edit variable
     RTVJOBA2        Retrieve job attributes 2
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message


None, the tool is ready to use.

Objects used by the tool

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

   WRKJOBSTG     *CMD                   TAAJODO       QATTCMD
   TAAJODOC      *PGM       CLP         TAAJODOC      QATTCL
   TAAJODOC2     *PGM       CLP         TAAJODOC2     QATTCL
   TAAJODOR      *PGM       RPG         TAAJODOR      QATTRPG

Added to TAA Productivity tools September 1, 2004

Home Page Up to Top