IBM Support

PM27741: NUMC and NUM items in EGL Java wrappers are not translated properly

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational Business Developer V7.5.1.6:
    
    When using Java wrappers generated from VisualAge Generator
    (VAGen) to call iSeries COBOL programs generated from VAGen,
    fields defined a NUM or NUMC do not pass negative values
    properly to the COBOL program.
    
    In addition, NUMC fields are incorrectly changed to negative
    numbers on the Java side.
    
    The following is the behavior seen:
    
    - Whether the Java value is positive or negative, on  the way
    outbound from Java the sign  for NUM and NUMC fields is set to F
    instead of D or  C.
    
    - The value received by the VAGen COBOL program is treated as
    positive (due to  F  sign) whether a positive or negative value
    is sent.
    
    - On return, values NOT modified by the VAGen COBOL program
    still have  F in the sign, and the NUMC Java values are flipped
    to negative (due to  F  sign).  Apparently, the Java side
    conversion logic on the way back for NUMC goes if C, then
    positive otherwise negative.
    
    - Values modified by the VAGen COBOL program are returned with
    the proper sign (D or  C - or 'F'  for positive NUM fields) and
    the resulting Java values has the proper sign.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using Java wrappers generated with
    wrapperCompatibility=V4 or V5, the sign of NUM and NUMC
    variables may be set incorrectly.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM27741

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-30

  • Closed date

    2011-05-06

  • Last modified date

    2011-05-06

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

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

    PM29249

Fix information

  • Fixed component name

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
06 May 2011