DUPTAACMD       DUPLICATE TAA COMMANDS                 TAATOLN

 The Duplicate  TAA  Commands tool  provides for  the use  of a  command
 library for the TAA Tools.

 See  the  discussion in  the  'Library  List Requirements'  information
 member on the HELPTAA menu for why this may be of value.

 You  may want  to use  a library  containing a  subset of the  TAA Tool
 commands.   This  technique  is also  described  in the  'Library  List
 Requirements' option on the HELPTAA menu.

 The  following discussion  refers only  to duplicating  all of  the TAA
 commands to a separate library.

 You must have *ALLOBJ special authority to use DUPTAACMD.

 A typical command would be:

            DUPTAACMD    LIB(xxx)

 The library  must exist and must not be  one of the TAA Tool libraries.

 DUPTAACMD duplicates the following from the TAATOOL library:

   **   Any command definition (*CMD) objects.

   **   Any menu (*MENU) objects.

   **   A  few  physical  files   which  provide  externally   described
        formats  to  be  used  for  Data  Structure  definitions  during
        compilations.

 If the objects can be duplicated, DUPTAACMD also:

   **   Changes  the CRTTAATOOL command  CMDLIB parameter  to default to
        the named library.  This change  occurs in both TAATOOL and  the
        named library.

   **   Changes the TAACTL data  area to reflect the use  of the command
        library.   This allows the next install  of the TAA Productivity
        Tools product to default to use the command library.

 If  an object of the same name already  exists in the named library, it
 is deleted before duplicating the version from TAATOOL.

 Note  that  the objects  are  duplicated.    The  primary  versions  in
 TAATOOL will still exist.

 The companion tool  is DLTTAACMD which will allow you  to delete all of
 the  TAA Tool objects in the command  library.  DLTTAACMD allows you to
 'change your mind' and  have all TAA commands  in the TAATOOL  library.

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

    LIB           The library  to contain the  duplicate objects.   This
                  is known as the 'command library'.

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

 None.

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

 The following TAA Tools must be on your system:

      CHKALLOBJ       Check *ALLOBJ authority
      EDTVAR          Edit variable
      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
    ------        ----    ---------      ----------    ----------

    DUPTAACMD     *CMD                   TAATOLN       QATTCMD
    TAATOLNC      *PGM       CLP         TAATOLNC      QATTCL

Added to TAA Productivity Tools May 1, 1996


Home Page

Powered by AS/400Powered by AS/400 Last modified on January 12, 2010 © 1995, 2010 - Jim Sloan, Inc.