TAA Tools
CHKMSGDSPE      CHECK MESSAGE DESCRIPTION SPELLING     TAAMSIY

The  Check  Message  Description  Spelling   command  checks  a  single
message  description for  the spelling  of the  first and  second level
text.    CHKMSGDSPE  is  helpful after  adding  or  changing  a message
description.  To  check the spelling of  all message descriptions in  a
file, use CHKMSGSPE.

A typical command would be:

            CHKMSGDSPE    MSGID(xxxxxxx) MSGF(yyyy)

By  default a  display would  appear with  the first  and  second level
text of the message and any spelling errors.

By  default the TAADFT  dictionary is used which  contains both English
words, system names and words, and TAA names and words.

CHKMSGDSPE escape messages you can monitor for
----------------------------------------------

      CPF2419    Message ID not found in the file

Escape messages from based on functions will be re-sent.

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

   MSGID         The message ID  to check  the first  and second  level
                 text for.

   MSGF          The  qualified name  of  the  message file  containing
                 the  message ID.   The  library qualifier  defaults to
                 *LIBL.    A  specific  qualifier  or  *CURLIB  may  be
                 entered.

   DCTARA        An  optional   parameter   that  allows   a  list   of
                 dictionaries  to be  specified by  naming a  data area
                 in  library  TAADCT  that  contains  the  list.    The
                 default is  *DFT.  A  data area may  only be named  if
                 DICT(*DFT) is used.

                 The  list of  dictionaries must  be entered  according
                 to   the  CRTDCTARA  TAA   Tool  and   the  data  area
                 containing the dictionaries must  exist in the  TAADCT
                 library.   Up to  8 dictionaries may  be named  in the
                 data area.

                 If  both  DICT(*DFT) and  DCTARA(*DFT)  are specified,
                 the following rules exist.

                 1) If the  library TAADCT does  not exist, the  TAADFT
                 dictionary in TAATOOL is used.

                 2) If the  TAADCT library exists,  a data area  by the
                 name  of  the  user of  the  job  is  searched for  in
                 TAADCT.   If  it does  not exist,  a data area  by the
                 name of SYSTEM is searched for in TAADCT.

                 3) If neither data  area exists the TAADFT  dictionary
                 in TAATOOL is used.

   DICT          The qualified  name of  the spelling dictionary  to be
                 used.   The  default is  *DFT which  means to  use the
                 DCTARA parameter.

   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:

     CHKSPELL2       Check spelling 2
     FMTLIN          Format line
     RSNLSTMSG       Resend last message
     RTVMSGD         Retrieve message description
     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
   ------        ----    ---------      ----------    ----------

   CHKMSGDSPE    *CMD                   TAAMSIY       QATTCMD
   TAAMSIYC      *PGM       CLP         TAAMSIYC      QATTCL
   TAAMSIYR      *PGM       RPG         TAAMSIYR      QATTRPG
					

Added to TAA Productivity tools June 30, 2007


Home Page Up to Top