TAA Tools
CRTTAASRCF      CREATE TAA SOURCE FILES                    TAATOLJ

The Create TAA Source Files tool creates all of the standard QATTxxx
source files.  This can be helpful when modifying the source for a
tool.

A typical command would be entered as:

         CRTTAASRCF   LIB(xxxx)

The source files created are:

      File Name   Record Length    Description
      QATTINFO         92          TAA Tool Documentation
      QATTCMD          92          TAA Tool Command Definition source
      QATTCL           92          TAA Tool CL source
      QATTDDS          92          TAA Tool DDS source
      QATTRPG         112          TAA Tool RPG source
      QATTPL1          92          TAA Tool other source
      QATTUIM         112          TAA Tool UIM source
      QATTHTML        112          TAA Tool HTML source
      QATTC           112          TAA Tool C source
      QATTSRV         112          TAA Tool binder language source
      QATTSQL         112          TAA Tool SQL source

If one or more of the files already exist, they are bypassed.  Any
data remains intact.

**********************************************************************
*                                                                    *
*     You should not  modify  the source in TAATOOL as it will be    *
*     totally replaced  by  a  subsequent release.  If you want to   *
*     modify the source,  you should copy all of the members for a   *
*     particular tool to a separate library.                         *
*                                                                    *
**********************************************************************

How to make a change to a TAA Tool
----------------------------------

  **   If you do not already have a library where QATTxxx source
       files exist, use CRTTAASRCF to create the QATTxxx source files
       for your version of the source.  Any library may be used, but
       you should not use TAATOOL.

       Assume the name you will use is MYTAALIB.

            CRTTAASRCF   LIB(MYTAALIB)

  **   Use CPYTAA2 to name the tool you want to change.  For example,
       if you want to change the CPYSRCTYP tool, specify:

           CPYTAA2  TAAARCMBR(CPYSRCTYP)  TOLIB(MYTAALIB)
                      REPLACE(*YES)

       Note that you use the name of the tool for TAAARCMBR.  This
       will copy all of the source (not the tool documentation
       member) from the archive to the QATTxxx files in the named
       library.  (CPYTAA2 is a simple front end to the CPYTAA
       command.  CPYTAA could also have been used).

       When all of the source is copied, the tool documentation
       member is not copied.  You could copy the tool documentation
       member (if you had a need to do so) with the command:

           CPYTAA   TAAARCMBR(CPYSRCTYP)  TOSRCFILE(MYTAALIB/*DFT)

  **   Use SEU to modify the source such as:

           STRSEU   SRCFILE(MYTAALIB/QATTCL) SRCMBR(TAASRDIC)

  **   Recreate the tool with the CRTTAATOOL command:

           CRTTAATOOL   TOOL(CPYSRCTYP) SRCLIB(MYTAALIB)

Note that you will need to recreate the tool on each release.  You
could use the CMPSRC tool to determine the differences between the
new release source and your modified version.

If you make many modifications to the tools, you could consider the
use of the PKGSRC tool to assist you in making changes on a new
release.


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

   LIB           The library name to contain the QATTxxx source
                 files.  If the source file to be created already
                 exists, the file is bypassed.  Any data or members
                 remains as is.

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

None.

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

The following TAA Tools must be on your system:

          EDTVAR         Edit variable
          SNDCOMPMSG     Send completion message
          SNDDIAGMSG     Send diagnostic message
          SNDESCMSG      Send escape message

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

None, the tool is ready to use.

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

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

   CRTTAASRCF    *CMD                      TAATOLJ        QATTCMD
   TAATOLJC      *PGM          CLP         TAATOLJC       QATTCL
					

Added to TAA Productivity tools May 1, 1996


Home Page Up to Top