IBM Support

IJ28836: Z/OS SPECIFIC C FUNCTION SEND_FILE IS CHANGING THE FILE POINTER POSITION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: No errors reported. Data corruption Issue seen.
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • This issue happens on Java8 and Java7 for z/OS. The z/OS
    specific C function send_file is changing the file pointer
    position though as per the API documentation
    (http://w3.hursley.ibm.com/java/docs/java7/api/java/nio/channels
    /FileChannel.html#transferTo) the "Bytes may be read or written
    at an absolute position in a file in a way that does not affect
    the channel's current position."
    

Problem conclusion

  • Code for resetting the file position is already present but was
    not getting executed as the method
    transferToDirectlyNeedsPositionLock of FileDispatcherImpl.java,
    returned false for all platforms. The method
    transferToDirectlyNeedsPositionLock was modified to return true
    in case of z/OS.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP20  (8.0.6.20)
       7    SR10 FP75 (7.0.10.75)
       7 R1 SR4 FP75  (7.1.4.75)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ28836

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-20

  • Closed date

    2020-10-21

  • Last modified date

    2020-10-31

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022