IBM Support

PK80202: REMOVE WARNING FOR COMPARISON OF NUMERIC TO TEXT TYPES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When VisualAge Generator does a comparison of CHARacters and
    zon ed NUMbers, it performs a byte by byte comparison by left
    justif ying the NUM value and then compared it to the text. This
    can produce unusual results in the 'if' statement, and even
    allow non-numeric values to be used from the zoned number
    source.
    
    In Rational Business Developer - Enterprise Generation Language,
     when a comparison of a text with a number is done, the text is
    converted to a valid number and then mathematically compared to
    the number. This could produce a different result than VAGen.
    
    A warning should be given in the EGL editor when comparing text
    and numbers.
    
    LOCAL FIX:
    

Local fix

Problem summary

  • The real problem here is that integer literals were treated
    as NUM in vag and v6.x. They were changed to INT in 7.0.
    This causes the runtime to have to translate the character
    code into a numeric.
    

Problem conclusion

  • A new build descriptor optiion has been introduced
    (v60NumWithCharBehavior) that will allow the customer to go
    back to the original VAG/V6x functionality. So, no warning
    message is needed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK80202

  • Reported component name

    RBD EGL FOR COB

  • Reported component ID

    5724S5001

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-06

  • Closed date

    2009-03-20

  • Last modified date

    2009-03-20

  • 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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R710 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.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
20 March 2009