CMPLIBD COMPARE LIBRARY DESCRIPTION TAALICI |
The Compare Library Description command compares the CRTLIB command
parameters of two Library objects. A spooled file is created of any
differences.
The major attributes which are not compared are:
- Owner
- Authorizations to the library
- Text description
- Create date and time
A typical command would be:
CMPLIBD FROMLIB(xxx) TOLIB(yyy)
A spooled file would be created with any differences shown.
An option exists to send an escape message if differences exist. An
option exists to delete the spooled file if no differences exist.
Note that the authorizations to the library are not compared, but the
CRTAUT and CRTOBJAUD values are compared.
CMPLIBD escape messages you can monitor for
-------------------------------------------
TAA9895 Differences exist (optional based on ESCAPE parm)
Escape messages from based on functions will be re-sent.
Command parameters *CMD
------------------
FROMLIB The name of the From Library to be compared.
TOLIB The name of the To Library to be compared.
ESCAPE Whether to send an escape message if differences
exist. The default is *NO which means a completion
message is sent.
*YES may be specified to send TAA9895 if differences
exist.
DLTSPLF Whether to delete the spooled file if there are no
differences. The default is *YES meaning the
spooled file is deleted if no differences are found.
The spooled file is always retained if differences
exist.
*NO may be specified to ensure a spooled file will
exist regardless of whether differences exist or
not.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKOBJ3 Check object 3
EDTVAR Edit variable
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion 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
------ ---- --------- ---------- ----------
CMPLIBD *CMD TAALICI QATTCMD
TAALICIC *PGM CLP TAALICIC QATTCL
TAALICIR *PGM RPG TAALICIR QATTRPG
|
Added to TAA Productivity tools July 1, 1999