IBM Support

PH20160: IDZ PL/I EDITOR FAILS WITH LOGICAL NOT SYMBOL "!", HOST CODE PAGE IBM-1390 AND LOCAL CODE PAGE UTF-8

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Users with IBM Developer for z v14.1.7, v14.1.9 or v14.2.1.
    If a PL/I program member contains a logical NOT symbol and
    the following mapping properties at the member/file level:
    Host code page = IBM-1390
    Local code page = UTF-8
    PL/I logical NOT symbol = "!" (exclamation mark)
    
    If the user tries to open the program with the PL/I Editor,
    a pop-up with error message CRRZI0487E is displayed, after
    clicking OK, the PL/I Editor fails to load the program, only
    showing a ruler and a Details button. Clicking the button
    shows the exception:
    "java.lang.IllegalArgumentException: Index out of bounds"
    
    If the same program is opened with the LPEX editor, it should
    present a warning on the line that contains the logical NOT
    symbol, saying "unexpected character ignored".
    
    Workaround:
    Mapping properties can be changed by right-clicking the
    program member, selecting Properties and then Mapping. There,
    use the default PL/I logical NOT symbol "¬" or a symbol other
    than "!", like "^".
    

Local fix

Problem summary

  • Negative range being caused by improper encoding causes
    index-out-of-bounds exception.
    

Problem conclusion

  • Added in check for negative range.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH20160

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    E20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-12-10

  • Closed date

    2020-05-15

  • Last modified date

    2020-05-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DEV FOR Z/OS

  • Fixed component ID

    5724T0700

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
27 October 2020