Rocket Uniface Support Resources

 View Only
  • 1.  Command line RunTime

    PARTNER
    Posted 03-17-2022 06:24
    Edited by Daniel Iseli 03-30-2022 05:39
    Note from admin: please post your questions in the Uniface User Forum

    Hello,

    When Uniface create logfiles, the command line is shown in the [startup]  paragraph.
    Do you know if it's possible to get this information in a RunTime application (I need to modify the .asn file used by the User in my RunTime) ?

    Regards,

    ------------------------------
    Laurent Merot
    Rocket Forum Shared Account
    ------------------------------


  • 2.  RE: Command line RunTime

    PARTNER
    Posted 03-17-2022 08:51
    Edited by Iain Sharp 03-17-2022 08:51
    The name of the asn can be retrieved from 
    $setting("usys","[files]userasn","USYSDATA")
    But you can't set it at runtime, as it's already been read into memory. 
    Regards, 
    Iain

    ------------------------------
    Iain Sharp
    Head of Technical Services
    Pci Systems Ltd
    Sheffield GB
    ------------------------------



  • 3.  RE: Command line RunTime

    PARTNER
    Posted 03-17-2022 10:48
    Thanks a lot Iain ! It works perfectly.

    When I look for "$setting" in the Uniface's help, I find topics about assignment files / registry keys / runtime settings / ... But I did not find anything about then second parameter "[files]userasn". 
    So my question is : How do you know that you can use this value ? If I want to get the .ini used file, what is the value of this parameter ? Are theses values noticed in the Uniface's help ?


    Regards.

    ------------------------------
    Laurent Merot
    Rocket Forum Shared Account
    ------------------------------