Rules for the USAGE clause and DBCS characters.
General Format
The General Format is extended by the addition of the following:
Syntax Rules
- The PICTURE character-string of a
DISPLAY-1 item can contain only "G"s and "B" s. An item whose PICTURE character-string contains "G"s must have a USAGE IS
DISPLAY-1 clause.
Note that therefore the USAGE IS DISPLAY-1 clause makes an item's class DBCS.
USAGE IS DISPLAY-1 is not required for items whose PICTURE clause contains
"G"s or
"N"s.
Whenever a PICTURE clause contains a "G" the associated item is considered to be of class DBCS.
- The BLANK WHEN ZERO clause cannot be used with group or elementary items described as USAGE IS DISPLAY-1. The SYNCHRONIZED
clause is ignored.
- The usage of a Screen Section data item may be implicitly or explicitly defined as USAGE DISPLAY-1.
General Rules
- The USAGE IS DISPLAY-1 clause indicates that the format of the data is DBCS.