BINARY

Abbreviation: BIN

BINARY is an arithmetic data type attribute that specifies that the base is binary. Its format is:

BINARY[(p)]

The precision p may be supplied with the BINARY attribute or with the FIXED or FLOAT attribute, but it cannot be specified twice. The precision p must be a positive integer. If no precision is specified, a default precision is supplied. For information on the default precisions, see your Open PL/I User's Guide and the section DEFAULT in the chapter Statements.

If BINARY is specified without FIXED or FLOAT, FIXED is assumed.

When used with FIXED, BINARY specifies integer arithmetic values that contain at least p bits.

When used with FLOAT, BINARY specifies floating-point arithmetic values that have a mantissa that contains the equivalent of at least p bits.