Returns a bit string containing the internal representation of the specified value.
UNSPEC(x)
or
UNSPEC(SUBSTR(char_string,i,j))
x is a reference to a scalar variable.
?
DECLARE CH CHAR(1); DECLARE MINUS_ONE FIXED BIN; MINUS_ONE = -1; UNSPEC(CH) = UNSPEC(MINUS_ONE); BIT(8) = UNSPEC(CH); /* '11111111'B */
Description
The UNSPEC function returns a bit string containing the internal representation of x.
The length and content of the result value depend on the data type and value of x and are implementation-defined. For details, see your Open PL/I User's Guide.