Logical NOT symbols in PL/I files

Under certain conditions, you might need to define an alternative logical NOT symbol for PL/I source files.

For PL/I source files on a z/OS® system, the standard logical NOT symbol is ¬, which corresponds to EBCDIC code point X'5F'. For PL/I files on system that uses ASCII character encoding, the standard logical NOT symbol is ^, which corresponds to ASCII code point X'5E'. Under normal operation, the product translates the two characters when files are transferred from between an EBCDIC and ASCII system. Under some circumstances, you might need to define an alternative NOT symbol:
  • The standard logical NOT symbol is ¬, which corresponds to EBCDIC code point X'5F'. If you cannot type this symbol on your workstation because your keyboard does not contain the ¬ character, then you can define an alternative NOT symbol, such as the exclamation point (!) or caret symbol (^). If you configure an alternative NOT symbol such as ! or ^, you must ensure that the symbol you configure is not present in another area of the file such as within a literal or a comment.
  • When you run a preprocessor against a PL/I source file, the product translates the preprocessed file into the UTF-8 code page, which is an ASCII-character code page. If the source file is encoded in EBCDIC and it contains the EBCDIC character ¬ (X'5F'), then that character is translated to the ASCII character ¬ (X'C2AC'). Because the ASCII character for the PL/I NOT symbol is ^ (X'5E'), the preprocessor does not recognize ¬ and returns an error message. To solve this issue define an alternative NOT symbol by selecting Other and specifying ^. This definition results in the EBCDIC character ¬ (X'5F') being correctly translated to ^ X'5E' in UTF-8. Any changes to the file are correctly translated back to ¬ on the remote system.

For information about defining an alternative logical NOT symbol, see Specifying an alternative logical NOT symbol.