Previous Topic: $HEXTOCHAR FunctionNext Topic: $HOST-ID Function


$HIGH Function

The $HIGH function returns the highest value in the alphanumeric collating sequence.

This function has the following format:

$HIGH 

Example

Assume that A, B, and C are 16‑character alphanumeric fields.

SET A = $HIGH       : returns 16 X'FF
	SET B = $LOW        : returns 16 X'00'
	SET C = $SPACES     : returns 16 X'40'