Engineering Requirements Management

Engineering Requirements Management

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Memory management perms?

    Posted 09/29/20 10:46 AM

    I ran across this page from IBM about memory management in DXL scripts.

    https://www.ibm.com/developerworks/rational/library/memory-management-perms-api-doors/memory-management-perms-api-doors-pdf.pdf

    ...but whenever I try the commands s per the article I just get DXL errors:

    incorrectly concatenated tokens

    undeclared variable (initNotDisplayedOpenModules)

    What is the correct usage?

    Thanks





    #EngineeringRequirementsManagement
    #Sustainability
    #Support
    #DOORS
    #SupportMigration


  • 2.  RE: Memory management perms?

    Posted 09/29/20 03:50 PM

    I just tested running the following perm and it worked without errors:

    initNotDisplayedOpenModules()

    Do you see the error when you run just that line of DXL? Or are using the full example from that document?

    Copy and pasting form a PDF doesn't preserve the formatting so I wonder if that could be causing a problem for you?

    What version of the DOORS client are you using?





    #Sustainability
    #EngineeringRequirementsManagement
    #Support
    #DOORS
    #SupportMigration


  • 3.  RE: Memory management perms?

    Posted 10/02/20 01:14 PM

    This seemed to work for me fine:

    initNotDisplayedOpenModules Item lItem for lItem in current Folder do{ Module lMod = read(fullName(lItem), false, true) } closeNotDisplayedOpenedModules



    #EngineeringRequirementsManagement
    #Support
    #DOORS
    #SupportMigration
    #Sustainability