IBM Support

PK77854: Rational Business Developer 7.1.A passed parameter to an EGL is set to blanks

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational Business Developer V7.1.0.2
    
    When an inout function argument variable is concatenated with ot
    her text into a target variable and the target variable is the s
    ame variable as was passed, but referenced with the original (no
    n-function argument name), then the variable is cleared before i
    t can be moved.
    

Local fix

Problem summary

  • The problem was happening what an argument to a function was
    being passed (as inout only) and the function was using a
    text concatenation of that function argument and another
    text value resulting in a program level variable. This only
    fails if the function argument is actually pointing at the
    same program level variable. EGL cobolgen normally checked
    for these overlapping variables when a concatenate was being
    done, but when the variables are actually different variable
    that happen to point at the same piece of memory, then the
    generator is unable to tell. Because of this possibility,
    now whenever a function variable is used as either a source
    item or the target item in a concatenate, the function
    variable is first copied to a temporary variable. This
    results in 3 extra lines of code to be generated.
    
    The proper way of coding the EGL would have been to define
    the function argument as in, or to consistently use the same
    variable in both the source and target.
    

Problem conclusion

  • Software updated to detect when function variables need to
    be copied.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK77854

  • Reported component name

    RBD EGL FOR COB

  • Reported component ID

    5724S5001

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-12-22

  • Closed date

    2009-03-20

  • Last modified date

    2009-03-20

  • 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

  • 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:
20 March 2009