TAA Tools

The Check Member Spelling  command checks the spelling of  the words in
the  member text for  all members in  one or  more files in  a library.
Both  source and  data members  are checked.   The command  defaults to
use  the  dictionary  provided  by  the  TAA  Productivity  Tools.    A
specific dictionary or multiple dictionaries may be used.

It would  be considered  normal for CHKMBRSPE  to find  spelling errors
for  user abbreviations.  You  can create your  own dictionary of words
and valid abbreviations to minimize  the 'noise' that may be  generated
by  CHKMBRSPE.   Do  DSPTAA TAADCT  to read  about  the TAA  dictionary
support  and how to  create your own  dictionary.  Using  CHKMBRSPE can
assist in cleanup of obvious spelling errors.

A typical command would be:

             CHKMBRSPE  FILE(xxx/QCLSRC)

All members in the named file would  have the words in the member  text
checked  against  the  TAA  provided  dictionary  (see  the  exceptions
described for  the DCTARA parameter).  A listing  would be displayed of
any  errors  found.   The first  20 characters  of a  word in  error is

If  CHKMBRSPE  finds   spelling  errors,  the  command   will  complete
normally (no escape message).

Use of CHKFLDSPE command

The CHKMBRSPE  CPP creates  an outfile of  the members  requested using
the  system DSPFD  TYPE(*MBRLIST) function.   It then  builds a command
to be  executed by the  CHKFLDSPE command.   A  data area  in QTEMP  is
used to  communicate with  CHKFLDSPE.   It contains  the headings  that
indicate the CHKMBRSPE command information.

The  file,  member, and  SEU  type  (if any)  are  used  as identifying
fields for CHKMBRSPE.

CHKMBRSPE escape messages you can monitor for

      TAA9891    Spelling errors occurred.
                   Only used if *PRINT or in batch

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

CHKMBRSPE Command parameters                          *CMD

   FILE          The qualified name of the  file to check the  spelling
                 of words  in  the member  text.   A  specific name,  a
                 generic  name,  or  the  special  value  *ALL  may  be
                 entered for all members in a library.

                 A specific library name must be entered.

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

   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.

                 If  a  dictionary  is  named,  DCTARA(*NONE)  must  be

                 The 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.

   OUTPUT        How  to  output the  results.   *  is  the  default to
                 display the  spooled file  if the  command is  entered
                 interactively.   If the display  is ended  with F3/F12
                 or the  Enter key, the  spooled file is  deleted after
                 it  is  displayed.   To retain  the spooled  file, you
                 may use the the  System Request 'Cancel' function  and
                 the spooled file will exist in a HLD status.

                 If  the  command is  entered  in  batch  or *PRINT  is
                 specified,  the spooled  file is output  and retained.


The first 20 characters of a word in error is shown.


The following TAA Tools must be on your system:

     CHKGENERC       Check generic
     CHKOBJ3         Check object 3
     CHKFLDSPE       Check field spelling
     RSNLSTMSG       Resend last message
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     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
   ------        ----    ---------      ----------    ----------

   CHKMBRSPE     *CMD                   TAATXTP       QATTCMD
   TAATXTPC      *PGM       CLP         TAATXTPC      QATTCL

Added to TAA Productivity tools October 15, 2013

Home Page Up to Top