IBM Support

PM19816: IF statement with compound condion fails

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • User has the following statement in the code:
    IF ( EVVK02WORK.dummy == '????' || EVVK02WORK.dummy == '????'
    )
    
    This statement fails (condition is false) , but the following pa
    sses:
    
      IF ( EVVK02WORK.dummy == '????' ).
    
    The literals contain Scandinavian  characters.
    
    The failure seems to be in the generated Cobol using different l
    ogic for comparision.
    

Local fix

Problem summary

  • The wrong code was generated for IMS because it cannot
    handle complex condition statements that contain comparison
    of char type with other text types.
    

Problem conclusion

  • I have changed the PPR code to break up these complex
    conditions for IMS.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM19816

  • Reported component name

    RBD EGL FOR COB

  • Reported component ID

    5724S5001

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-08-04

  • Closed date

    2010-08-06

  • Last modified date

    2010-08-06

  • 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

    RBD EGL FOR COB

  • Fixed component ID

    5724S5001

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 August 2010