
Author:
William M. Klein (wmklein@ix.netcom.com
after a picture character-string. Specifically, it is unclear to me if the following code is or is not
conforming to the (draft) 2002 Standard:
followed by a Value clause and, therefore, this is non-conforming source code according to
PICTURE clause shall be the last clause of the data description entry and shall be
not be the last symbol of a picture character-string that is not followed by a separator period
It should also be noted that the “lead-in” to the definition of separators at “8.3.2 Separators”
character-string:”
picture string to be able to determine what symbols precede the separator – but that you also
My initial understanding that any comma or period that was “attached” to characters that
“evaluation” (of a symbol “.” or “,” as editing symbols) violated other explicit rules of the (draft)
Standard, then this meant that the source code was non-conforming, not that the symbols
the following (quite common in ’85 Standard source code) syntax would be non-conforming:

and not a separator. However, I see no “consistent” way to call this example conforming
source code without also calling the first example conforming source code and that results in
it is a separator or not) but also the token after that to see if it is or is not a separator period.
I now believe (but am far from certain) that the (draft) Standard requires that:
part of the picture character-string IF AND ONLY IF they are followed immediately by a
the separator period).
(with no intervening spaces) by a separator comma which may then be followed by any
conforming data definition clause except a separator period (because if the separator
If the symbols of a picture character-string “seem” to end in a period:
source code element (after any spaces) begins a new data-definition or
It is an editing symbol (part of the character-string) if the next source token is
It is non-conforming source code if the next source token (after any spaces) is
understandings are in error, I question that the “correct” interpretation is any clearer given the
correct) that it was intended that a compiler must “read ahead” as far as it (now) must to
string, and, furthermore, I am not certain that the current REPLACE and COPY/REPLACING
where a data definition clause may or may not be “added” by COPY/REPLACING or
period.