Binary-string constants

A binary-string constant specifies a varying-length binary string.

The two forms of a binary-string constant are:

The CCSID assigned to the constant is 65535.

Note that the syntax of the second form of binary string constant is identical to the second form of a character constant. A constant of this form is only treated as a binary string constant if the standards option is specified. For information on the standards option, see Standards compliance.

Examples

   BX'FFFF'
   X'FFFF'