TAA Tools
CHGCLS2         CHANGE CLASS 2                         TAACLSE

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

You must have *ALLOBJ special authority to use CHGCLS2.

A typical command would be:

             CHGCLS2    CLS(ABC/*ALL) RUNPTY(4)

All *CLS  objects in library  ABC would be  changed so that  the RUNPTY
would  be set to  4.   All other values  in class  objects would remain
unchanged.

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

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

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

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

                 A single library must be specified.

   RUNPTY        The run  priority  to  be  assigned.    *SAME  is  the
                 default.  A value between 1 and 99 may be entered.

   TIMESLICE     The timeslice in  milliseconds to be assigned.   *SAME
                 is  the default.   A value  between 0 and  9999999 may
                 be entered.

   PURGE         The  purge  value  to  be  assigned.    *SAME  is  the
                 default.  A *YES or *NO may be entered.

   DFTWAIT       The  default wait  time  in  seconds to  be  assigned.
                 *SAME is the  default.  A value between  0 and 9999999
                 may be entered or the special value *NOMAX.

   CPUTIME       The  maximum CPU time  in milliseconds  to be allowed.
                 *SAME is the default.   A value between 0 and  9999999
                 may be entered or the special value *NOMAX.

   MAXTMPSTG     The maximum  temporary storage to  be allowed.   *SAME
                 is  the default.   A  value  between 1  and 2147183647
                 may be entered or the special value *NOMAX.

                 The value is entered in  bytes, but the system  rounds
                 up  the  value  to the  nearest  megabyte  and  DSPCLS
                 describes the megabyte value.

   MAXTHD        The maximum  number of threads  to be allowed.   *SAME
                 is  the default.   A value between 1  and 32767 may be
                 entered or the special value *NOMAX.


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

You must have *ALLOBJ special authority to use CHGCLS2.

A *CLS 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
   ------        ----    ---------      ----------    ----------

   CHGCLS2       *CMD                   TAACLSE       QATTCMD
   TAACLSEC      *PGM       CLP         TAACLSEC      QATTCL
					

Added to TAA Productivity tools April 15, 2013


Home Page Up to Top