RPG reserves its definition keywords (e.g. POS, DIM, INZ, LIKE,
OVERLAY, PREFIX, CONST, BASED, VARYING, OCCURS) only in keyword
position - they are not reserved as identifiers. A standalone field may therefore
be named with one of these words, in both fixed-format D-specs and free-format
DCL-S (including the LIKE(...) form), and referenced normally in expressions
and assignments:
dcl-s pos int(5);
dcl-s varying int(5);
varying = pos + 1;
This applies to the declared name; a field referenced by such a name in a
LIKE/LIKEDS/OVERLAY keyword argument follows the ordinary identifier rules.