IBM Support

PH42867: IBM DEVELOPER FOR Z SYSTEMS (IDZ V15.0.1) THE CODE PAGE IBM=939 IS USED FOR .CPY FILE EVEN SPECIFIED AS IBM-930 IN GITATTRIBUTES

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

  • Using IBM Developer for Z systems - IDz v15.0.1 a .gitattribute
    setting problem is reported for the member specified COPY
    statement.
    
    The Katakana characters on the DBB user build compile list are
    not displayed correctly.
    These katakana characters were copied from the member specified
    COPY statement at time of compile.
    
    The codepage for the suffix ".cpy" is not working as expected
    even if specified on .gitattributes of local repository:
    . IBM-939 was specified in .gitattributes file for the suffix
    ".py"
    . when this suffix ".py" is removed from .gitattributes, then
    IBM-930 is used for the suffix ".cpy".
    . IBM-930 should be used for .cbl and .cpy as the definition in
    .gitattibute files.
    

Local fix

  • The workaround is to move the *.cpy line to the bottom below
    *.py in the .gitattributes file.
    

Problem summary

  • IDz was using Java regular expressions for the file pattern
    matching in reading .gitattributes files instead of the unique
    regular expression syntax in the git specification
    

Problem conclusion

  • Use JGit to provide pattern matching for .gitattribute file
    reads instead of Java RegEx.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42867

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    F00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-12-16

  • Closed date

    2022-03-10

  • Last modified date

    2022-03-10

  • 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

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

Document Information

Modified date:
11 March 2022