IBM Support

PI30329: EXITING LINKMODULEDESCRIPTOR LOOP BEFORE IT COMPLETE WILL PREVENT LMD CREATION FOR THE REST OF THE SESSION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If you have DXL code which exits from the "for
    LinkModuleDescriptor in Folder" loop early, attempts to create a
    LinkModuleDescriptor using addLinkModuleDescriptor() will fail
    until the session is restarted.
    
    The error returned is "This perm cannot be called inside the
    link module descriptors iterator"
    
    Run code such as the following, supplying valid module and
    folder paths:
    
    "
    string srcMod = "/folder/m1"
    string trgMod = "/folder/m2"
    string lnkMod = "/folder/l1"
    
    Folder f = folder "/folder"
    
    string err = ""
    
    err = addLinkModuleDescriptor(f, srcMod, trgMod, false, lnkMod,
    "")
    if (err != "") print "1 : " err "\n"
    
    LinkModuleDescriptor lmd
    
    for lmd in f do {
    
     break
    }
    
    err = addLinkModuleDescriptor(f, trgMod, srcMod, false, lnkMod,
    "")
    if (err != "") print "2 : " err "\n"
    "
    
    Note the second error printed.
    
    In the example supplied by the customer, the break is actually a
    function return statement, but the effect is the same.
    
    Workaround:
    
    Write the code such that a break or return statement is not
    required. E.g. in the case of returning the LMD, assign it to a
    2nd LMD and return that once the loop has finished.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users.                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * 9615: APAR PI30329 - Exiting LinkModuleDescriptor loop       *
    * before it complete will prevent LMD creation for the rest of *
    * the session                                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • This has been resolved in the 9614 release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI30329

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    952

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-11-25

  • Closed date

    2015-10-23

  • Last modified date

    2015-10-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

    TLOGIC DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R961 PSY

       UP



Document information

More support for: Rational DOORS

Software version: 9.5.2

Reference #: PI30329

Modified date: 23 October 2015