Engineering Requirements Management

Engineering Requirements Management

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

 View Only
Expand all | Collapse all

DOORS DXL - any parallel to C's argv[] ?

  • 1.  DOORS DXL - any parallel to C's argv[] ?

    Posted Tue December 08, 2020 03:55 PM

    Hello,

    We want to start DXL scripts via the command-line. Is there anyway to pass command-line arguments to the DXL script itself - as opposed to the arguments to DOORS? In the DXL script I want to grab argv[0], argv[1], etc.

    If not what alternatives do we have? The only solution I have figured out is to set ENV variables before calling "doors -batch <script>" and then use getenv() within DXL.

    Thanks,

    Kevin





    #Support
    #SupportMigration
    #Sustainability
    #DOORS
    #EngineeringRequirementsManagement


  • 2.  RE: DOORS DXL - any parallel to C's argv[] ?

    Posted Fri December 11, 2020 07:40 PM

    I don't know of any other way. I use the environment variable method as well.





    #DOORS
    #EngineeringRequirementsManagement
    #Support
    #SupportMigration
    #Sustainability