Monarch v14 open report and model but don't export with command line

Altair Forum User
Altair Forum User
Altair Employee
edited February 2018 in Community Q&A

I need to use Monarch v14 with the command line utility to open a report and a model without exporting; just stay open.

If I use the command line to start Monarch, open a report and model without specifying any other parameters such as export; Monarch will not open the report and model.

Using an older version of Monarch with the command line utility I was able to start Monarch, open a report and model and it stayed open so that I could make changes to the model then I could export and save the model with the new changes.

Any ideas?

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    Tom,

     

    Command line and general programmed support as an included product was deprecated a few versions back.

     

    If you need it with version 14 you need to talk to Datawatch about obtaining the most appropriate add-on license for your needs.

     

    HTH.

     

     

    Grant

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    Tom,

     

    Command line and general programmed support as an included product was deprecated a few versions back.

     

    If you need it with version 14 you need to talk to Datawatch about obtaining the most appropriate add-on license for your needs.

     

    HTH.

     

     

    Grant

    I do have the license for the Command Line Utility and I do use it with batch files to start Monarch, open a report and model then export; all that works good I need help to figure out how to (via batch file) start Monarch, open a report and model but not export, just stay opened.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    Tom,

     

    Command line and general programmed support as an included product was deprecated a few versions back.

     

    If you need it with version 14 you need to talk to Datawatch about obtaining the most appropriate add-on license for your needs.

     

    HTH.

     

     

    Grant

    This is the command I use to start Monarch, open a report and model then export and it works fine;

    "C:\Program Files\Datawatch Monarch 14\Monarch.exe" /rpt:"\\ServerName\Shared\Today.txt" /mod:"\\ServerName\\ModelName.xmod" /exp:\\ServerName\Today.xls"

     

    This is what I tried to do to start Monarch and open a report and model but not export, just stay opened;

    "C:\Program Files\Datawatch Monarch 14\Monarch.exe" /rpt:"\\ServerName\Shared\Today.txt" /mod:\\ServerName\\ModelName.xmod"

    The above command will not open Monarch, report and model, nothing seems to happen at all.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    This is the command I use to start Monarch, open a report and model then export and it works fine;

    "C:\Program Files\Datawatch Monarch 14\Monarch.exe" /rpt:"\\ServerName\Shared\Today.txt" /mod:"\\ServerName\\ModelName.xmod" /exp:\\ServerName\Today.xls"

     

    This is what I tried to do to start Monarch and open a report and model but not export, just stay opened;

    "C:\Program Files\Datawatch Monarch 14\Monarch.exe" /rpt:"\\ServerName\Shared\Today.txt" /mod:\\ServerName\\ModelName.xmod"

    The above command will not open Monarch, report and model, nothing seems to happen at all.

    I forgot a quote sign in the last post; this is the command I use;

    "C:\Program Files\Datawatch Monarch 14\Monarch.exe" /rpt:"\\ServerName\Shared\Today.txt" /mod:"\\ServerName\\ModelName.xmod"

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    I do have the license for the Command Line Utility and I do use it with batch files to start Monarch, open a report and model then export; all that works good I need help to figure out how to (via batch file) start Monarch, open a report and model but not export, just stay opened.

    Ah, I misunderstood your title line.

     

    I don't recall anyone ever using the Command Line to open Monarch and leave it running on screen other than, iirc, when the User Input field was introduced and the Commands incorporated the ability to open the field for user input as part of the process.

     

    I don't think I ever used that feature other than in testing and so my recollection is hazy. Even so my feeling is that it was only part of the automation process, not a means to opening Monarch and leaving it on screen.

     

    For that all that was required for an input file and model load was a desktop short cut to a Project file.

     

    Ten years or so back there were a lot of people in the forum using the command line approach but sadly most of them have either drifted away or, in some cases, are no longer with us. I am not familiar with what the latest CLI offers but perhaps someone who is can comment.

     

    Presumably as a V14 user you will also have the Technical Support question option available to you?

     

     

    Grant

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    I forgot a quote sign in the last post; this is the command I use;

    "C:\Program Files\Datawatch Monarch 14\Monarch.exe" /rpt:"\\ServerName\Shared\Today.txt" /mod:"\\ServerName\\ModelName.xmod"

    Try changing Monarch.exe to DWMonarch.exe.

     

    HTH.