IBM Support

PK85141: incorrect 4gl migration to EGL IntervalValueWithPattern

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 B
    usiness Developer v7.1.0.3
    
    Reproducible Y/N: Y
    
    Description of problem:
    
    When migrating 4GL code like
    
      let xx = xx - 1 units day
      let yy = yy - 1 units month
      let zz = zz - 1 units year
    
    the generated EGL code is incorrect:
    
           xx =(xx - IntervalValueWithPattern('1','mm' /* TODO dummy
     units pattern */));
            yy =(yy - IntervalValueWithPattern('1','mm' /* TODO dumm
    y units pattern */));
            zz =(zz - IntervalValueWithPattern('1', 'mm' /* TODO dum
    my units pattern */));
    
    It should have been
    
    xx =(xx - IntervalValueWithPattern('1','dd' /* TODO dummy units
    pattern */));
    yy =(yy - IntervalValueWithPattern('1','MM' /* TODO dummy units
    pattern*/));
    zz =(zz - IntervalValueWithPattern('1','yyyy' /* TODO dummy unit
    s pattern*/));
    

Local fix

Problem summary

  • Incorrect function
    

Problem conclusion

  • Incorrect function
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK85141

  • 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

    2009-04-22

  • Closed date

    2009-07-23

  • Last modified date

    2009-07-23

  • 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:
23 July 2009