TAA Tools
CMPLIB          COMPARE LIBRARY                        TAALIDA

The Compare  Library  command compares  the contents  of two  libraries
for  the same objects,  same size,  same type,  etc.  Options  exist to
compare the physical file data (both source and non-source).

A typical command would be:

             CMPLIB       FROMLIB(xxx) TOLIB(yyy)

By default:

  **   The TAA Tool CMPSRC2 would be used on every source file.

  **   The  TAA Tool CMPDBF would be  used on every physical data file.

Spooled files  that  are  created  and describe  differences  would  be
retained.  A summary spooled file is created.

The comparison  does not  ensure that the  objects are  100% identical.
For  example, two programs could have the  same size and have different
code.

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

   FROMLIB       The From library to be compared.

   TOLIB         The To library to be compared.

   CMPDBF        A *YES/*NO parameter for  whether the CMPDBF TAA  Tool
                 should be used  to compare the data in  the members of
                 any physical data files.  *YES is the default.

                 *NO may be specified to avoid the comparison.

   CMPSRC        A  *YES/*NO  parameter  for  whether  the CMPSRC2  TAA
                 Tool should  be  used  to  compare  the  data  in  the
                 members of  any physical  source files.   *YES is  the
                 default.

                 *NO may be specified to avoid the comparison.

   DLTSPLF       A   *YES/*NO   parameter   for  whether   the   detail
                 comparison   spooled  files  created   by  CMPDBF  and
                 CMPSRC2  should  be  deleted  if  an  exact  match  is
                 found.   *YES  is  the default  which  will cause  any
                 spooled   files  that  show  an   exact  match  to  be
                 deleted.

                 *NO may be specified to retain all spooled files.

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

The sub tools CMPDBF and CMPSRC2 have some restrictions.

The comparison does  not ensure  that the objects  are 100%  identical.
For example, two  programs could have the same size  and have different
code.

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

The following TAA Tools must be on your system:

     CMPDBF          Compare data base file
     CMPSRC2         Compare source 2
     CRTDUPPF        Create duplicate physical file
     RTVDBFA         Retrieve data base file attributes
     RTVSYSVAL3      Retrieve system value 3
     SNDESCMSG       Send escape message
     SNDCOMPMSG      Send completion 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
   ------        ----    ---------      ----------    ----------

   CMPLIB        *CMD                   TAALIDA       QATTCMD
   TAALIDAC      *PGM       CLP         TAALIDAC      QATTCL
   TAALIDAC9     *PGM       CLP         TAALIDAC9     QATTCL
   TAALIDAR      *PGM       RPG         TAALIDAR      QATTRPG
   TAALIDAP      *FILE      PF          TAALIDAP      QATTDDS
					

Added to TAA Productivity tools June 1, 1997


Home Page Up to Top