IBM Support

PM11916: Incorrect EGL validation error 'Invalid attempt to modify XXX wh ich is a constant'

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:
    
    An EGL validation error is raised with the following code after
    upgrade from v7.1.0.x to v7.5.1.x:
    
    package test;
    
    program PKSErr13 type BasicProgram {}
        const PGMName char(10) = 'abcdx';
        i int;
        function main()
            i = StrLib.indexOf(PGMName, 'x');
        end
    end
    
    Error is:
    
    IWN.VAL.6646.e 13/18 TestProg - Invalid attempt to modify TempCo
    nst which is a constant. Constants are not allowed to be modifie
    d
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In 7.1.x, the restriction was removed so that contants could
    be passed to INOUT parms. Unfortunatly, this was broken
    sometime in 7.5.x.
    

Problem conclusion

  • The validation has been loosened to allow the passing of
    constants to inout parms.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM11916

  • 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-04-09

  • Closed date

    2010-10-13

  • Last modified date

    2010-10-13

  • 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:
13 October 2010