Hello,
We have a multimember physical file that is used for Excel extractions. The program begins by allocating the file so it can give the user autority on the table and it also creates a member for the user. The file is deallocated once this is done. Then, a calculation is performed on a file in QTEMP, after which, if the user chooses to extract the results, the data is copied from QTEMP to the member created. The user retrieves the data by transferring data (the green arrow ) to an Excel file.
We are having issues with the program crashing because it says the file is locked. However, when this happens, we use WRKOBJLCK and see that no one is locking the file. The file has a 30-second wait time before timing out.
We have tried to figure out why we keep getting these crashes but have found no answer. Are there any journals for file locking? We need the journal of QSYS2.OBJECT_LOCK_INFO, or equivalent. When the data transfer is taking place, is the file locked? Is it possible the crashes occur when another user is extracting a very large file taking over 30 seconds and a second user just happens to call the program at that time?
Thanks.
We have a multimember physical file that is used for Excel extractions. The program begins by allocating the file so it can give the user autority on the table and it also creates a member for the user. The file is deallocated once this is done. Then, a calculation is performed on a file in QTEMP, after which, if the user chooses to extract the results, the data is copied from QTEMP to the member created. The user retrieves the data by transferring data (the green arrow ) to an Excel file.
We are having issues with the program crashing because it says the file is locked. However, when this happens, we use WRKOBJLCK and see that no one is locking the file. The file has a 30-second wait time before timing out.
We have tried to figure out why we keep getting these crashes but have found no answer. Are there any journals for file locking? We need the journal of QSYS2.OBJECT_LOCK_INFO, or equivalent. When the data transfer is taking place, is the file locked? Is it possible the crashes occur when another user is extracting a very large file taking over 30 seconds and a second user just happens to call the program at that time?
Thanks.
Comment