TERMINATE=value

This keyword is used to create a termination key. TERMINATE assigns a decimal ASCII value to a key; when the key is pressed, the ACCEPT is terminated and the assigned value is returned in the CONTROL KEY clause of the ACCEPT statement. TERMINATE does not cause the key to generate an exception condition when pressed; to define an exception key, use the EXCEPTION keyword instead.