NOT

The NOT option specifies up to seven alternate symbols that can be used as the logical NOT operator.

Read syntax diagramSkip visual syntax diagram
            .------.       
            V      |       
>>-NOT--(-'---char-+-'-)---------------------------------------><

char
A single SBCS character

You cannot specify any of the alphabetic characters, digits, and special characters defined in the PL/I Language Reference, except for the standard logical NOT symbol (¬). You must specify at least one valid character.

When you specify the NOT option, the standard NOT symbol is no longer recognized unless you specify it as one of the characters in the character string.

For example, NOT('~') means that the tilde character, 'A1'X, will be recognized as the logical NOT operator, and the standard NOT symbol, '¬', '5F'X, will not be recognized. Similarly, NOT('~¬') means that either the tilde or the standard NOT symbol will be recognized as the logical NOT operator.

The IBM-supplied default code point for the NOT symbol is '5F'X. The logical NOT sign might appear as a logical NOT symbol (¬) or a caret symbol (‸) on your keyboard.