TAA Tools
CHGJOBQ2        CHANGE JOB QUEUE 2                     TAAJOGF

The Change  Job Queue 2 command  allows a change  of one or  more *JOBQ
object  types.    CHGJOBQ2  simplifies  making  mass changes  to  *JOBQ
objects.   For  a more  complete understanding  of the  parameters, see
the CHGJOBQ command  help text.   A *JOBQ  object owned  by one of  the
system profiles may not be changed.

You must have *ALLOBJ special authority to use CHGJOBQ2.

A typical command would be:

             CHGJOBQ2   JOBQ(ABC/*ALL) OPRCTL(*NO)

All *JOBQ  objects in library ABC  would be changed so  that the OPRCTL
value  is set  to *NO.   All  other values in  job queue  objects would
remain unchanged.

At least  one of  the  values to  be  changed must  be other  than  the
default of *SAME.

CHGJOBQ2 escape messages you can monitor for
--------------------------------------------

      TAA9891    The command failed.  Diagnostic messages will exist
      TAA9892    Not all values to be changed can be *SAME

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

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

   JOBQ          The  qualified  name   of  the  *JOBQ  object   to  be
                 changed.   A single job queue, a  generic name, or the
                 special value *ALL may be used.

                 A specific library name must be entered.

   OPRCTL        The operator control value to  be assigned.  *SAME  is
                 the default.  *YES or *NO may be entered.

   AUTCHK        The authority  check value to  be assigned.   *SAME is
                 the default.  *OWNER or *DTAAUT may be entered.

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

You must have *ALLOBJ special authority to use CHGJOBQ2.

A  *JOBQ  object  owned by  one  of  the  system  profiles may  not  be
changed.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKIBMPRF       Check IBM profile
     CHKOBJ3         Check object 3
     CVTOBJD2        Convert object description 2
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVDIAGMSG      Retrieve diagnostic message
     SNDCOMPMSG      Send completion message
     SNDDIAGMSG      Send diagnostic 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
   ------        ----    ---------      ----------    ----------

   CHGJOBQ2      *CMD                   TAAJOGF       QATTCMD
   TAAJOGFC      *PGM       CLP         TAAJOGFC      QATTCL
					

Added to TAA Productivity tools October 15, 2013


Home Page Up to Top