The Check Word command checks the spelling of a word. An escape
message is sent if the word is not in one of the specified TAA
dictionaries. The default dictionary includes about 80,000 English
words, places, proper names, system words (eg QCLSRC), TAA words (eg
ADDDAT), and PRTSEUTXT words (eg PARM1).
A typical command would be:
CHKWRD WORD(TARANTULA)
The default dictionary is TAADFT which is made up of the following
dictionaries supplied by the TAA Productivity Tools:
TAATOOL. The TAATOOL dictionary has about 80,000 English
words. Also included are words that are somewhat
unique to the IT industry, many geographical
locations, and proper names. This differs from the
QDCT product.
TAATOOL terminology such as the command names (eg
ADDDAT, HELPTAA, etc) is also included.
TAA400 The TAA400 dictionary has words that are unique to
i5/OS such as RGZPFM and QCLSRC.
PRTSEUTXT The PRTSEUTXT dictionary has words that are
associated with PRTSEUTXT (TAA tool) such as PRM1.
Entering words
--------------
If the word to be checked is entered thru the prompter or without
surrounding quotes, the system folds all letters to upper case and a
valid word would be successfully checked.
If the word to be checked is entered as:
CHKWRD WORD('aX')
the word is not folded and would be considered an error whereas
Words beginning with capital letters or all capitals are considered
valid.
Thus the following
ax Valid
AX Valid
Ax Valid
aX Valid
'ax' Valid
'AX' Valid
'Ax' Valid
'aX' Invalid
Only the characters A-Z are considered. Non alphabet characters such
as '$', '*', and ')' are ignored by the spell checker. This make the
following types of entries valid '*ax', '$ax', '&''o%r', '#9ax', etc.
Digits are not ignored. A word like 'a3x' or 'ax7' would be
considered an error.
CHKWRD escape messages you can monitor for
------------------------------------------
TAA9891 The word does not exist in the dictionary
Escape messages from based on functions will be re-sent.
Command parameters *CMD
------------------
WORD The word to be spell checked. It may be up to 20
characters and may not contain any embedded blanks.
DICT The dictionary to be used. TAADFT is the default
which is a combination dictionary of TAATOOL,
TAA400, and PRTSEUTXT.
One of the following dictionaries may be named
instead.
TAATOOL. The dictionary is made up of about 80,000
English words. Also included are words that are
somewhat unique to the IT industry, many
geographical locations, and proper names. This
differs from the QDCT product.
Also included are TAATOOL terminology such as the
command names (eg RGZLIB, HELPTAA, etc).
TAA400. The dictionary has words that are unique to
i5/OS such as RGZPFM and QCLSRC.
PRTSEUTXT. The dictionary has words that are
associated with PRTSEUTXT (TAA tool) such as PRM1.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKSPELL Check spelling
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
------ ---- --------- ---------- ----------
CHKWRD *CMD TAATXTL QATTCMD
TAATXTLC *PGM CLP TAATXTLC QATTCL
|