Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
is it possible to keep opld data when reload fail ?
thks
With EDX then all what you have to do in the script of your first task:
for each File in filelist ('\\Path\To\TestFile')
//File exist!
//run the next task
//No spaces anywhere in the names!!
EXECUTE \\Path\To\qmsedx.exe -task=YourEdxTaskName -qms=YourServerName -password=YourEdxPassword ;
next File
If reload fails, the old data is kept.
I'd also set 'Save Before Reload' in 'Settings > User Pref' so you don't loose any work!
even ur job fails,still ur old data with ur app.
I asked my question wrong in fact I want to test the presence of a file if I see I reload table else I want to get out of the script without lose old data.
I asked my question wrong in fact I want to test the presence of a file if I see I reload table else I want to get out of the script without lose old data.
Michael, I asked my question wrong in fact I want to test the presence of a file if I see I reload table else I want to get out of the script without lose old data.
thks
If the error is not critical (like a table not found), then the script asks you if you want to "continue" or just cancel. The script will continue executing but obviously you can lose some data.
If the error is critical, then it will fail automatically and you will recover the old data.
the best way to test the presence of a file is to comment the rest of the script, and after this file add something wrong that will fail the script. Then, when the script is executing just look at the script windows in order to see if your file is loaded or not. Because of the failure of the script, you will be sure that you don't lose data.
I launch the script with the server not in desktop, so i just want to get out of the script when the file is missing