TAA Tools
CHGDSPF2        CHANGE DISPLAY FILE 2                  TAADSQC

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

You must have *ALLOBJ special authority to use CHGDSPF2.

A typical command would be:

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

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

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

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

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

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

                 A single library must be specified.

   MAXDEV        The maximum  number of devices  that can  be connected
                 to  the device file  at the same  time.  *SAME  is the
                 default.

                 A value between 1 and 256 may be entered.

   ENHDSP        A  *YES/*NO value for whether  the display file should
                 use the enhanced  display capabilities.  *SAME  is the
                 default.

                 *YES   may  be   specified  to   allow  the   enhanced
                 capabilities.

                 *NO  may be  specified to  use the  normal workstation
                 functions.

   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.

   WAITRCD       The  number of seconds  to wait for  the completion of
                 a read-from-invited-devices  operation to  a  multiple
                 device file.  *SAME is the default.

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


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

You must have *ALLOBJ special authority to use CHGDSPF2.

A  display  file  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
     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
   ------        ----    ---------      ----------    ----------

   CHGDSPF2      *CMD                   TAADSQC       QATTCMD
   TAADSQCC      *PGM       CLP         TAADSQCC      QATTCL
					

Added to TAA Productivity tools April 15, 2013


Home Page Up to Top