Avoid General Script Error in STORE command

    The STORE command throws a General Script Error when the file to be stored is accessed by another process simultaneously.
    E.g., when a LOAD command for the same file is being executed at the same time.

     

    I am using Sysinternals handle.exe to avoid the error. Process is:

     

    1.) Create a logfile of all open file handles using Sysinternals handle.exe
    2.) Read the logfile before storing a QVD file.
        -> If the logfile contains the QVD file to be stored, pause and retry later in a loop.

     

    It's done using subroutines in 1 qvw loadfile, which executes the handle-batchfile as well.

     

    See ZIPFILE ATTACHED, and

     

    Ressources:
    https://community.qlik.com/message/555207#555207
    https://community.qlik.com/ideas/3443
    https://technet.microsoft.com/en-gb/sysinternals/bb896655.aspx

     

    Hope this might be helpful to you!

     

    Regards - Marcel