IBM Support

PM58687: Java Compile errors after migrating to RBD 8.0.1.3

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is migrating to 8.0.1.3 from v7 and is seeing the  java
    compile errors:
    
    1. $array cannot be resolved to a variable
    
    2. The method getValue()  is undefined for the type String
    3. The method setValue()  is undefined for the type String
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This APAR covers three errors that may appear in generated
    Java code.
    
    1. The generator may incorrectly generate "$array" in place
    of an array, after the array has been used in an IN
    expression.
    
    2. References to a local or global variable may be generated
    incorrectly, when the variable is the target of a Set
    Initial statement and is not a record. In this case, the
    Java compiler will report that methods named getValue or
    setValue are undefined.
    
    3. The generated code for a function invocation may not
    compile when an argument to an Out parameter includes an As
    expression.  For example, func(x as int).
    

Problem conclusion

  • The problems have been corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM58687

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-21

  • Closed date

    2012-10-08

  • Last modified date

    2012-10-08

  • 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

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

Document Information

Modified date:
08 October 2012