TAA Tools

The Remove  Source  +++ Comments  command removes  any source  comments
that have the consecutive characters +++ in them.

The intent  of the command  is to work  with the source  created by the
DUPSTDSRC  TAA Tool  for the  DMOSUBF tool  source when  it is  time to
remove  the  temporary  comments.    Other  TAA  Tools   use  the  same
technique.   The command  can also  be used for  any other  source that
follows the same technique.

A typical command would be entered as:

            RMVSRCCMT   MBR(xxx) SRCFILE(yyy)

The  source  would be  copied  to a  temporary member  without  the +++
statements  and  then  copied  back  to  the  original  member.     The
statement numbers will be re-sequenced.

Command parameters                                    *CMD

   MBR           The member which contains the +++ comments.

   SRCFILE       The qualified file  name of the source  file.  Special
                 values  such as  *CLP may be  entered to  mean QCLSRC.
                 The library value defaults to *LIBL.


To be considered  a comment  and thus be  scanned for  the +++  symbol,
the source  type is  checked.  Thus  it is  possible to  have +++ in  a
valid source line and not have the statement removed.

  **   For RPG,  RPGLE and DDS  source, the command ensures  that it is
       a comment line (e.g.  F* in positions 6 and 7).

  **   For  CL and CMD source,  the line must begin with  a /* (it does
       not have to  be in the first  position), but the /*  must appear
       before  position  80  of  the  statement.    Note  that  if  the
       statement  has a  /* as  the first non-blank  and +++  exists in
       the  line,   the   entire   source   line   will   be   removed.
       Continuation lines are not considered.

  **   For other  source types, you  must ensure that  you do  not have
       +++ in your normal source statements.


The following TAA Tools must be on your system:

           ALCTMPMBR     Allocate temporary member
           EDTVAR        Edit variable
           HLRMVMSG      HLL Remove message
           SNDCOMPMSG    Send completion message
           SNDESCMSG     Send escape message
           SNDSTSMSG     Send status message


None, the tool is ready to use.

Objects used by the tool

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

   RMVSRCCMT     *CMD                   TAASRDA       QATTCMD
   TAASRDAC      *PGM       CLP         TAASRDAC      QATTCL
   TAASRDAR      *PGM       RPG         TAASRDAR      QATTRPG

Added to TAA Productivity tools April 1, 1995

Home Page Up to Top