IBM Support

PM43775: You cannot return or break for a trigger loop.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • You cannot return or break for a trigger loop.
    
    To recreate:
    
     - open a module called 'New Module' and create create 2
    triggers using:
    
     '
    Trigger t = trigger ('t1', module-?'New Module' , pre, close,
    10, 'ack \'running pre close trig: t1\'')
    
    Trigger t = trigger ('t2', module-?'New Module' , post, close,
    10, 'ack \'running post close trig: t2\'')
    '
    
     - run the following DXL, it should print only 't1':
    
    '
    Module m = current
    Trigger t
    
    for t in m do {
    
     print name t '\n'
    
     if ((name t) == 't1') break
    
    }
    '
    
    Workaround:
    
    In the case of a return statement, a workaround can be found by
    assigning the trigger to a different trigger, then returning it
    outwith the loop.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    It is not possible to return or break for a trigger loop.
    

Problem conclusion

  • The code has been changed so that it is now possible to
    return or break from a trigger loop.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM43775

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-15

  • Closed date

    2012-03-09

  • Last modified date

    2012-03-09

  • 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

  • R920 PSN

       UP



Document information

More support for: Rational DOORS

Software version: 9.2

Reference #: PM43775

Modified date: 09 March 2012