How To
Summary
This document shows a possible solution to edit PL/I programs containing the multiple logical NOT symbol ¬ (EBCDIC x'5F') and ^ and when you use UTF-8 encoding in IBM Developer for z/OS (IDz) client.
To correctly parse a PL/I program with many macros, the IDz real-time syntax check needs to preprocess it using the local compiler through menu "Identified using configured preprocessor".
However, the local PL/I compiler supports only single-byte characters as logical NOT symbol and character ¬ is single byte in EBCDIC while it is double bytes in UTF-8. It thus cannot be used as logical NOT symbol.
PL/I NOT symbol ¬ can be automatically converted to an alternate not symbol like ^ on the Remote System Explorer file system mapping.
However, this method does not work with a program that uses both NOT symbol ¬ and ^.
When ^ is already used, setting also ^ as alternative not symbol for ¬ will lead to the error:
CRRZI0487E File '{0}' contains characters that cannot be transferred correctly between the local and remote systems. These characters will be highlighted. The file will be opened in read-only mode.
Objective


Steps
|


-cp "c:\temp\plinot.jar" custom.idz.PliNot "${resource_loc}" "${rdz_cache_home}\BuildOutput\${resource_fn}.pli"
${rdz_cache_home} can be used when the PL/I program is opened directly from the remote systems explorer.
Output is: ${resource_fn}.pli



Additional Information
| All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
Related Information
Document Location
Worldwide
Product Synonym
IDz
Was this topic helpful?
Document Information
Modified date:
28 September 2023
UID
ibm16332431