The rules for reserved words are:
Intrinsic function names cannot be dimensioned array names, but can be variable names.
Special tokens cannot be used as variable names (that is, and, do, else, and so on).
Any other word can be both an array or variable name.
The list of reserved words are:
and before cat col2 cpcopy do else error field ge gt inmat len match missing not on pccopy repeat rtnlist setting space status summation then trim using with |
abs ascii by convert date dquote end exchange fmt go iconv insert ln matches mod num onerr present replace scan sin sqrt step swap time trimb while xtd |
access assigned capturing char cos dcount dtx eq exp fold gosub in int locked maximum ne occurs or pwr returning sentence sort spooler str system timedate trimf |
alpha at case col1 count delete ebcdic ereplace extract for goto index le lt minimum next oconv passlist rem rnd seq soundex stacking sum tan to until |
Other words may be added to this list through the use of the $option.
See Also