Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
jeevays7
Partner - Creator III
Partner - Creator III

batch file got stuck while running qlikview documents

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?

18 Replies
Anil_Babu_Samineni

The same way, Even it should work

"C:/Program files/Qlikview/qv.exe" /R "D:/A.Qvw" : eof : insert


Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jeevays7
Partner - Creator III
Partner - Creator III
Author

Can you explain the above code? what is eof : insert ??

PrashantSangle

did you get any error while you execute that file manually???

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anil_Babu_Samineni

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

)

"C:/Program files/Qlikview/qv.exe" /R "D:/B.Qvw"

IF %ERRORLEVEL% NEQ 0 (

  exit /b 1

)

"C:/Program files/Qlikview/qv.exe" /R "D:/C.Qvw"

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"

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jeevays7
Partner - Creator III
Partner - Creator III
Author

Thank you anil babu.

Anil_Babu_Samineni

If you solve your issue, I would ask you to close this thread by flag "Correct Answer" and proper helpful if helps

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jeevays7
Partner - Creator III
Partner - Creator III
Author

Hi Prashant,

i did not get any error while execute the application manually.

PrashantSangle

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,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
jeevays7
Partner - Creator III
Partner - Creator III
Author

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.