TAA Tools
RPLSYSVAL       REPLACE SYSTEM VALUES                  TAASYTI

The  Replace  System  Values  command  uses   the  outfile  created  by
CVTSYSVAL  CMPSYSVAL(*YES)  to  replace  system  values.   Some  system
values  such  as QDATE  are bypassed  as being  unique to  each system.
Some system values  such as QCONSOLE  are non-changeable.  The  command
is  helpful  in  moving  a  standard  set of  System  Values  to  other
systems.

You must have *ALLOBJ authority to use RPLSYSVAL.

You  must  have  first used  CVTSYSVAL  CMPSYSVAL(*YES)  to  create the
outfile of system values.

To replace System Values, you would specify:

            RPLSYSVAL       LIB(xxx)

where the library contains the SYSVALP file.

A spooled file of exceptions is output:

      - System values such as QDATE are bypassed
      - System values such as QCONSOLE are non-changeable
      - Any exceptions which are not processed
      - Any error conditions

Special handling of QPWDMINLEN, QPWDRQDDGT, and QPWDRULES
---------------------------------------------------------

It is possible  that the  system to  replace the system  values on  has
already specified QPWDMINLEN  with a value greater  than the QPWDMAXLEN
that  will be set.   To avoid  a potential conflict,  QPWDMINLEN is set
to 1  before processing  begins.   QPWDMINLEN is  then reset  from  the
file which is processed in system value name sequence.

The  same  approach  is used  with  QPWDRQDDGT  to  avoid  a  potential
conflict with QPWDLMTCHR.

Likewise  QPWDRULES  is set  to  *PWDSYSVAL to  allow  the other  QPWD*
values to be set.  It is then set to its value found in the file.

Special handling for QSSLCSL
----------------------------

The  value of  QSSLCSL can only  be set if  the value  of QSSLCSLCTL is
*USRDFN.   The  setting  of QSSLCSL  is  delayed  until all  the  other
values  are processed.   This allows  QSSLCSLCTL to  be set  to *USRDFN
prior to handling QSSLCSL.

Use of CVTSYSVAL/RPLSYSVAL on the same system
---------------------------------------------

Some  users may  want to capture  a good  version of  the System Values
for a possible later  use if the entries become  damaged or need to  be
reset.   The use  of CVTSYSVAL  to save  the existing definitions  will
allow you to use RPLSYSVAL if it is ever needed.

RPLSYSVAL escape messages you can monitor for
---------------------------------------------

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

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

   LIB           The  library containing  the SYSVALP  file.   The file
                 must   have   been   created   by   CVTSYSVAL    using
                 CMPSYSVAL(*YES).

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

You must have *ALLOBJ special authority to use RPLSYSVAL.

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

The following TAA Tools must be on your system:

     ADJAPOST        Adjust Apostrophes
     CHKSPCAUT       Check special authority
     PRINT           Print
     RTVDIAGMSG      Retrieve diagnostic message
     RTVSYSVALA      Retrieve system value attributes
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   RPLSYSVAL     *CMD                   TAASYTI       QATTCMD
   TAASYTIC      *PGM       CLP         TAASYTIC      QATTCL
					

Added to TAA Productivity tools March 15, 2002


Home Page Up to Top