IBM Support

PM10924: compilation error on SysLib-Lib.bytes() is raised when generatin g EGL to Java

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    
     - Product name (Build ID or version/patch level): IBM Rational
    Business Developer v7.5.1.4
    Reproducible Y/N: Y
    
    Description of problem:
    
    Following EGL code doesn't compile after generation from EGL to
    Java:
    
    program TestProg type BasicProgram {}
    
        TempArray char(10)[2];
        TempChar  char(10) = 'abc';
         const TempConst char(10) = 'abc';
    
     function main()
         TempArray[1][1:bytes(TempChar)] = TempChar;
         TempArray[2][1:bytes(TempConst)] = TempConst;
     end
    
    end
    
    Error is:
    
    The method bytes(Program, DynamicArray) in the type SysLib_Lib i
    s not applicable for the arguments (TestProg, String)
    
    It works if the array passed is not 'const'.
    

Local fix

Problem summary

  • Generated Java did not compile when passing a const field to
    SysLib.bytes().
    

Problem conclusion

  • The generator has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM10924

  • 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-03-26

  • Closed date

    2010-04-14

  • Last modified date

    2010-04-14

  • 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

  • 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:
14 April 2010