CMPMSGD COMPARE MESSAGE DESCRIPTIONS TAAMSJC |
The Compare Message Descriptions command compares message
descriptions in one message file to another and displays or lists the
results. Corresponding message IDs are checked for in both files and
the individual attributes of a message description are compared for
matching IDs. A range of message IDs may be specified.
For large message files, the command should be submitted to batch.
A typical command would be:
CMPMSGD FROMMSGF(ABC) TOMSGF(DEF)
The message descriptions for each file would be converted to outfiles
in QTEMP. All message IDs in the From file that do not exist in the
To file would be flagged as well as those in the To file that do not
exist in the From file. For those matching IDs, the individual
attributes of a message description are compared and differences are
noted.
CMPMSGD escape messages you can monitor for
-------------------------------------------
None. Escape messages from based on functions will be re-sent.
CMPMSGD Command parameters *CMD
--------------------------
FROMMSGF The qualified name of the From message file. The
library value defaults to *LIBL. A specific library
or *CURLIB may also be used.
TOMSGF The qualified name of the To message file. The
library value defaults to *LIBL. A specific library
or *CURLIB may also be used.
RANGE The range of message IDs to be compared.
The first part of the parameter is the lower value.
The default is *FIRST. Any message ID may be
specified and acts as a lower limit. The message ID
does not have to exist.
The second part of the parameter is the upper value.
The default is *LAST. Any message ID may be
specified and acts as an upper limit. The message
ID does not have to exist. *ONLY may be specified
to mean the message ID named in the lower value.
OUTPUT How to output the results. * is the default to
display the spooled file if the command is entered
interactively. The spooled file is deleted after it
is displayed.
If the command is entered in batch or *PRINT is
specified, the spooled file is output and retained.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKOBJ3 Check object 3
CVTMSGF Convert message file
DUPTAADBF Duplicate TAA data base file
RSNLSTMSG Resend last message
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CMPMSGD *CMD TAAMSJC QATTCMD
TAAMSJCC *PGM CLP TAAMSJCC QATTCL
TAAMSJCR *PGM RPG TAAMSJCR QATTRPG
|
Added to TAA Productivity tools October 15, 2008