Previous Topic Next topic Print topic


The USAGE Clause (DBCS)

General Format

The General Format is extended by the addition of the following:


*

The General Format is extended by the addition of the following:


*

Syntax Rules

  1. 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.

    MFCOB370  USAGE IS DISPLAY-1 is not required for items whose PICTURE clause contains

    MF  "G"s or

    MFCOB370  "N"s.

    MF  Whenever a PICTURE clause contains a "G" the associated item is considered to be of class DBCS.

  2. The BLANK WHEN ZERO clause cannot be used with group or elementary items described as USAGE IS DISPLAY-1. The SYNCHRONIZED clause is ignored.
  3. The usage of a Screen Section data item may be implicitly or explicitly defined as USAGE DISPLAY-1.

General Rules

  1. The USAGE IS DISPLAY-1 clause indicates that the format of the data is DBCS.
Previous Topic Next topic Print topic