Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have Five qlikview documents and I am running those application using batch file.
Some times, after the 4th application run successfully, the next application is not initiated to run.
the batch file got stuck(showing the 4th application in comment prompt) in the 4th application only. it does not initiate 5th application.
the log file of the 4th application also has no Errors.
What s the problem? how can i identify the problem?
The same way, Even it should work
"C:/Program files/Qlikview/qv.exe" /R "D:/A.Qvw" : eof : insert
Can you explain the above code? what is eof : insert ??
did you get any error while you execute that file manually???
Sure, The function EOF is same for all. So, In your case how you done the script that is main important. So, When i look you thread opened seems this should work.
EOF is initiated here batch file - Where does GOTO :EOF return to? - Stack Overflow
"C:/Program files/Qlikview/qv.exe" /R "D:/A.Qvw" : eof : insert
"C:/Program files/Qlikview/qv.exe" /R "D:/B.Qvw" : eof : insert
"C:/Program files/Qlikview/qv.exe" /R "D:/C.Qvw" : eof : insert
"C:/Program files/Qlikview/qv.exe" /R "D:/D.Qvw" : eof : insert
"C:/Program files/Qlikview/qv.exe" /R "D:/E.Qvw" : eof : insert
Or
"C:/Program files/Qlikview/qv.exe" /R "D:/A.Qvw"
IF %ERRORLEVEL% NEQ 0 (
exit /b 1
)
IF %ERRORLEVEL% NEQ 0 (
exit /b 1
)
IF %ERRORLEVEL% NEQ 0 (
exit /b 1
)
"C:/Program files/Qlikview/qv.exe" /R "D:/D.Qvw"
IF %ERRORLEVEL% NEQ 0 (
exit /b 1
)
"C:/Program files/Qlikview/qv.exe" /R "D:/E.Qvw"
Thank you anil babu.
If you solve your issue, I would ask you to close this thread by flag "Correct Answer" and proper helpful if helps ![]()
Hi Prashant,
i did not get any error while execute the application manually.
are you able to save that application after sucessfull reload?
do you have any hidden sheet or object in your application?
Remove them from application. and try.
Regards,
Hi Prasant,
I have used many hidden objects. those object will display based on any selection.
Why i have to remove? i cant remove because that is the requirement.
I can able to save the application manually. but it is not saved when using batch file i think.