IBM Support

PM39261: height(canvas) does not return correct value when used in Layout DXL Column

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • height(canvas) does not return correct value when used in Layout
    DXL Column
    
    Currently when height(canvas) perm is used in Layout DXL Column,
    if the object contains large amount of text (say in object
    text), then the change in the height of the object, is not
    reflected in the value of height.
    
    - Create an module.
    - Create a Layout DXL Column with the following code:
    display(height(getCanvas())) ''
    - Value displayed will be 16.
    - Now, add object text with 3 lines of data so that the height
    of the object changes.
    - There's no change in the value displayed in Layout DXL Column.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    height(canvas) does not return correct value when used in
    Layout DXL Column
    
    Currently when height(canvas) perm is used in Layout DXL
    Column, if the object contains large amount of text (say in
    object text), then the change in the height of the object,
    is not reflected in the value of height.
    

Problem conclusion

  • A new overloaded generic PERM "height(Object)" is introduced
    that takes  variable of type "Object" or "obj" as parameter
    and returns the height of each object as integer.
    
    where,
    1. "Object" is Object data type.
    2. "obj" is pre-declared variable in Layout DXL programs.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM39261

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    930

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-16

  • Closed date

    2011-09-28

  • Last modified date

    2011-09-28

  • 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

    TLOGIC DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R930 PSN

       UP



Document information

More support for: Rational DOORS

Software version: 9.3

Reference #: PM39261

Modified date: 28 September 2011