Sage 100

 View Only
  • 1.  Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 06:56
    Do you know if I set up a Visual Integrator job chained to two added jobs and use command line AUTO will I get a prompt on the 2 and 3rd job about whether to run them or not? I'm hoping I can chain three imports together and not receive any prompt.


  • 2.  RE: Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 07:01
    When I chain jobs, there is always a prompt.


  • 3.  RE: Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 07:13
    Batch file to run three separate jobs?? Not sure how to incorporate a delay for waiting for the first or second to finish before invoking the next on the list.


  • 4.  RE: Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 07:35
    I think I'm initially going to have them run a batch file and chain the three together. I know that will stop and prompt them but for the initial debugging that may not be a bad thing. Once we get the process working smoothly I may go with a command line.


  • 5.  RE: Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 08:02
    You can add a delay to a batch file by using ""ping 127.0.0.0 -n 30"" this will ping the host 30 times and give you an approximate 30 second delay. I have done this with successive VI jobs and set the ping value to at least as long as the VI job execution time.


  • 6.  RE: Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 08:16
    I've used a batch file in the past and the time delay @GregStiles suggested. Use display to avoid an error 15 cd C:\Sage\MAS90\Home Pvxwin32.exe .. \Launcher\Sota.Ini ..\SOA\Startup.M4P -ARG DIRECT UION Batch Sabre ABC VIWI01 DISPLAY


  • 7.  RE: Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 10:30
    An alternative to the ping command used to pause between jobs is the following (30 represents seconds): TIMEOUT /T 30 /NOBREAK


  • 8.  RE: Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 10:51
    I like that @BillPfahnl good idea.


  • 9.  RE: Do you know if I set up a Visual Integrator job ch

    Posted 11-02-2017 14:23
    Wayne, I did this for a client where I have 2 V/I import jobs chained together and on the Scheduled Task, I specify the first one and don't get any prompts when the second one is launched. I'm not using a batch file. Actually, I have another client that has 4 export jobs chained together.