IBM Support

PM06017: constant fields produce method getValue() is undefined for the t ype String column type error

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: Windows
    
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  7.1.0.4
    Description.
    Generated Java from EGL source file which includes constant fiel
    ds produces an error and cannot be compiled.
    
    When a field is defined as constant as a host variable in an SQL
     statement the generated Java code does not compile due to the f
    ollowing example error:
    The method getValue() is undefined for the type String column ty
    pe test/_005f087/constant/java/generation y4b087.java line 70
    
    The error appears to be calling getValue on a String literal the
    reafter prodcuing this error.
    
    Removing the getValue call in the generated Java code will remov
    e the error and allow compilation.
    

Local fix

Problem summary

  • Generated Java programs may not compile if an SQL host
    variable is a const.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM06017

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-26

  • Closed date

    2010-02-11

  • Last modified date

    2010-02-11

  • 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:
11 February 2010