TAA Tools
CHGSAVF2        CHANGE SAVE FILE 2                     TAASAWQ

The Change  Save File 2  command allows  a change to  one or more  save
files.   Not  all of the  CHGSAVF parameters  are supported.   CHGSAVF2
simplifies  making mass  changes to  save files.   For a  more complete
understanding of  the parameters, see  the CHGSAVF  command help  text.
A save file owned by one of the system profiles may not be changed.

You must have *ALLOBJ special authority to use CHGSAVF2.

A typical command would be:

             CHGSAVF2   FILE(ABC/*ALL) WAITFILE(10)

All save files  in library ABC would be  set to a wait file  time of 10
seconds.  All other values in save files would remain unchanged.

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

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

CHGSAVF2 Command parameters                          *CMD

   SAVF          The qualified name  of the  save file  to be  changed.
                 A single  save file,  a generic  name, or  the special
                 value *ALL may be used.

                 A single library must be specified.

   MAXRCDS       The maximum  number of records that  can be written to
                 the save file.  *SAME is the default.

                 A value between 1 and 4293525600 may be entered.

                 *NOMAX may be specified which will use 4293525600.

   WAITFILE      The number  of seconds  to  wait for  the file  to  be
                 opened.  *SAME is the default.

                 A number  may be entered  between 1  and 32767 or  the
                 special values *IMMED or *CLS.


You must have *ALLOBJ special authority to use CHGSAVF2.

A save file owned by one of the system profiles may not be changed.


The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKIBMPRF       Check IBM profile
     CHKOBJ3         Check object 3
     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


None, the tool is ready to use.

Objects used by the tool

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

   CHGSAVF2      *CMD                   TAASAWQ       QATTCMD
   TAASAWQC      *PGM       CLP         TAASAWQC      QATTCL

Added to TAA Productivity tools January 15, 2014

Home Page Up to Top