Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have written a batch script to trigger the QMC Task in QV 11.2 SR5, using the QMS API.
This is the batch script,
<QMSEDX.exe Path> -task = <Task name> -password = <password>
Exit /B %errorlevel%.
This batch script will run when the DWH process is completed from Atrium trigger. And this will trigger the QMC reload task.
This is working fine but it is giving a errorlevel "1" instead of 0 and showing error on Atrium side. How can i figure out what is the error here?
Sorry Thomas. I have very little knowledge about how QV APIs work.
But, which config file do i use from the attachment?
use EDX.rar - But you have to configure the code itself, because its hardcoded values. So if you know a little about C# it should be easy.
Hi Vamshi,
Skip the "pause" in your batch files. The job is "waiting for input" as it is set to break and wait for user interaction which is why it is not finishing. Everything is running in the background, so any such input is not possible as the command line window is not seen.
Regards,
Erik
Yes I understand. But even without the pause step also, i am getting the same error in the log file.
The code in your attachment is not working for me at all. I am using this code (see attached).
It is working fine, but as said, when i use the attached batch file, i am getting a error code 1.