IBM Support

PM72547: WMQFTE 7.0.4. ABEND001, JAVA.LANG.ARITHMETICEXCEPTION: DIVIDE BY ZERO

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Description
    WMQ File Transfer Edition Agent ABENDs with a divide by zero
    exception. The following is seen in the ABEND.log:
    Class: com.ibm.wmqfte.thread.FTEThread
    Instance: 25962596
    Method: uncaughtException
    Probe: ABEND_001
    Cause: java.lang.ArithmeticException: divide by zero
    java.lang.ArithmeticException: divide by zero
    at
    com.ibm.wmqfte.io.zos.FTEDatasetTextChannel.position(FTEDatasetT
    extChannel.java:78)
    at
    com.ibm.wmqfte.io.zos.FTEDatasetChannel.openDataset(FTEDatasetCh
    annel.java:438)
    at
    com.ibm.wmqfte.io.zos.FTEDatasetTextChannel.openDataset(FTEDatas
    etTextChannel.java:137)
    at
    com.ibm.wmqfte.io.zos.FTEDatasetChannel.openForWriteImpl(FTEData
    setChannel.java:389)
    at
    com.ibm.wmqfte.io.zos.FTEDatasetChannel.openForWrite(FTEDatasetC
    hannel.java:293)
    at
    com.ibm.wmqfte.io.impl.FTEBufferedFileChannel.openForWrite(FTEBu
    fferedFileChannel.java:62)
    at
    com.ibm.wmqfte.io.impl.FTETextFileChannelImpl.openForWrite(FTETe
    xtFileChannelImpl.java:132)
    at
    com.ibm.wmqfte.transfer.frame.impl.TransferFrameReceiverImpl.ope
    nAndLockFile(TransferFrameReceiverImpl.java:1100)
    at
    com.ibm.wmqfte.transfer.frame.impl.TransferFrameReceiverImpl.ope
    nAndLockFile(TransferFrameReceiverImpl.java:1006)
    at
    com.ibm.wmqfte.transfer.frame.impl.TransferFrameReceiverImpl.pro
    cessChunk(TransferFrameReceiverImpl.java:445)
    at
    com.ibm.wmqfte.transfer.frame.impl.TransferFrameReceiverImpl.acc
    ess$100(TransferFrameReceiverImpl.java:73)
    at
    com.ibm.wmqfte.transfer.frame.impl.TransferFrameReceiverImpl$Chu
    nkProcessor.doWorkImpl(TransferFrameReceiverImpl.java:149)
    at
    com.ibm.wmqfte.io.impl.FTEFileIOWorker.doWork(FTEFileIOWorker.ja
    va:100)
    at
    com.ibm.wmqfte.io.impl.FTEFileIORequestQueue.run(FTEFileIOReques
    tQueue.java:228)
    at java.lang.Thread.run(Thread.java:736)
    at com.ibm.wmqfte.thread.FTEThread.run(FTEThread.java:64)
    

Local fix

  • Local Fix <br/>None. <br/>
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of WebSphere MQ File Transfer Edition Version 7.0.4
    transferring to or from datasets.
    
    
    Platforms affected:
    z/OS
    
    ****************************************************************
    PROBLEM SUMMARY:
    In some circumstances a timing issue can arise when transferring
    data to or from datasets which will lead to variable being
    erroneously assigned a value of 0. This later causes the
    ArithmeticException when the code attempts to divide by this
    value.
    

Problem conclusion

  • The code has been altered to prevent the timing issue from
    causing an ArithmeticException.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Platform           v7.0
    --------           --------------------
    Multiplatforms     7.0.4.3
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM72547

  • Reported component name

    WMQ FTE Z/OS

  • Reported component ID

    5655U8000

  • Reported release

    704

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-10

  • Closed date

    2012-09-28

  • Last modified date

    2012-09-28

  • 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

    WMQ FTE Z/OS

  • Fixed component ID

    5655U8000

Applicable component levels

  • R704 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"WebSphere MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"704"}]

Document Information

Modified date:
29 October 2021