TAA Tools
RLSJOB2         RELEASE JOB 2                          TAAJOEW

The Release Job 2 command  releases one or more jobs that are  in a HLD
status by  using the system RLSJOB command.   Generic job names or user
names  may  be  specified  along  with a  subsystem  name.    An ACTION
parameter allows either  *CHECK or *RELEASE.   RLSJOB2 can assist  when
a set  of jobs  needs to be  released.  You  must have  *JOBCTL special
authority to use RLSJOB2.

See the companion tool HLDJOB2.

A typical command would be:

              RLSJOB2       JOB(ABC*) ACTION(*RELEASE)

All  jobs beginning with  the name ABC  that are in a  HLD status would
be released.  A spooled file would be displayed with the results.

RLSJOB2 escape messages you can monitor for

      TAA9893    No jobs selected (occurs only if no display)

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

RLSJOB2 Command parameters                         *CMD

   JOB           The job  or  generic  job  name to  check  for.    The
                 special  value  *ALL  may  be entered  for  *ALL  jobs
                 which  would  normally  be  used  if  you added  other
                 selection criteria.

   USER          The user  or generic  user  name to  check for.    The
                 special value *ALL may be entered for *ALL users.

   SBS           The  subsystem  or generic  subsystem  name  to  check
                 for.   The special value *ALL may  be entered for *ALL

   JOBSTS        The  job status to  be selected.   *ALL is the default
                 for all status conditions.

                 The  other supported  values  are *ACTIVE,  *JOBQ,  or

   ACTION        The action to be performed.

                 *CHECK  is  the default  which  does  not release  any
                 jobs,  but  allows  a review  of  what  jobs  would be

                 *RELEASE may  be  specified to  release  the  selected

   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.


You must have *JOBCTL special authority to use RLSJOB2.


The following TAA Tools must be on your system:

     CHKJOBCTL       Check *JOBCTL special authority
     CVTJOB          Convert job to an outfile
     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
   ------        ----    ---------      ----------    ----------

   RLSJOB2       *CMD                   TAAJOEW       QATTCMD
   TAAJOEWC      *PGM       CLP         TAAJOEWC      QATTCL
   TAAJOEWR      *PGM       RPG         TAAJOEWR      QATTRPG

Added to TAA Productivity tools January 15, 2009

Home Page Up to Top