TAA Tools

The Check Data Area  Spelling command checks for misspelled  words in a
*CHAR type  data area (*DTAARA).   The data  in the data  area would be
considered  as  a  string  with  blanks  separating  the  words.    The
dictionary supplied by  TAA is used  by default.  Special  dictionaries
may be named.  See the discussion with the TAADCT tool.

A typical command would be:

             CHKARASPE   DTAARA(xxx)

The named data area  must be a *CHAR type.  All  words in the data area
would  be  checked using  the  TAADFT dictionary.   One  line  would be
listed for each  word not found in  the dictionary.   If any words  are
listed, the spooled file would be displayed by default.

If  no  errors were  found,  the  command  completes normally  and  the
spooled file would be deleted.

CHKARASPE escape messages you can monitor for

      TAA9893    One or more words in error were found.

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

CHKARASPE Command parameters                          *CMD

   DTAARA        The  qualified  name  of  the  *DTAARA  object  to  be
                 checked.  It  must be  a *CHAR  type data  area.   The
                 library value defaults  to *LIBL.  A  specific library
                 or *CURLIB may also be used.

   ERRACTION     How  to  handle  spelling  errors.    If  no  spelling
                 errors exist, the spooled file is deleted.

                 *DISPLAY  is the default to  display the spooled file.
                 The spooled file is deleted after it is displayed.

                 *ESCAPE may be  specified to send the  TAA9893 message
                 as an escape type.  The spooled file is retained.

                 *COMPLETION may  be specified to  receive a completion
                 message.  The spooled file is retained.

   DICT          The  name of a  specific dictionary to be  used.  *DFT
                 is the  default in  which  case the  DCTARA  parameter
                 takes precedence.

                 A specific  dictionary name may  be used along  with a
                 library  qualifier.    If  a  specific  dictionary  is
                 named, DCTARA(*DFT) must be used.

   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.   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 *DFT is 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.




The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     CHKSPELL2       Check spelling 2
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVDTAARAD      Retrieve data area description
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   CHKARASPE     *CMD                   TAAARAU       QATTCMD
   TAAARAUC      *PGM       CLP         TAAARAUC      QATTCL
   TAAARAUR      *PGM       RPG         TAAARAUR      QATTRPG

Added to TAA Productivity tools April 15, 2011

Home Page Up to Top