TAA Tools

The Check Object Spelling  command checks the spelling of  the words in
the  object text for  one or more  objects in  a library.   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 CHKOBJSPE  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 CHKOBJSPE.    Do DSPTAA  TAADCT to  read  about the  TAA  dictionary
support and  how to create  your own  dictionary.  Using  CHKOBJSPE can
assist in cleanup of obvious spelling errors.

A typical command would be:

             CHKOBJSPE  OBJ(xxx/*ALL) OBJTYPE(*ALL)

All  objects in the  named library would  have the words  in the object
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   CHKOBJSPE  finds  spelling  errors,   the  command  will  complete
normally (no escape message).

Use of CHKFLDSPE command

The CHKOBJSPE  CPP creates an  outfile of  the objects requested  using
the TAA CVTOBJD6  command.  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  CHKOBJSPE
command information.

The  object  name,  object  type, and  object  attribute  are  used  as
identifying fields for CHKFLDSPE.

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

CHKOBJSPE Command parameters                          *CMD

   OBJ           The  qualified   name  of  the  object  to  check  the
                 spelling of  words in  the object  text.   A  specific
                 name, a  generic name, or  the special value  *ALL may
                 be entered.

                 A specific library name must be entered.

   OBJTYPE       The object  type to be checked.   *ALL is the default.
                 Use the prompter to see the supported values.

   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:

     CHKFLDSPE       Check field spelling
     CHKOBJ3         Check object 3
     CVTOBJD6        Convert object description 6
     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
   ------        ----    ---------      ----------    ----------

   CHKOBJSPE     *CMD                   TAATXTO       QATTCMD
   TAATXTOC      *PGM       CLP         TAATXTOC      QATTCL

Added to TAA Productivity tools October 15, 2013

Home Page Up to Top