We ran the following vutil command and got an error code of 94. What is error 94? We check the documentation but 94 was not listed.
vutil command options were: "vutil32 -unload -t ", followed by the input and output file names.
Thank you for posting to the Micro Focus Community site. The 94 sounds like it might be a file status. In the Acu documentation, a file status 94 means "file not found".
However, this is not the normal behavior for a file not found error in vutil. Normally, vutil does not a report file status, but instead displays a text message like:
inputfilename: No such file
It might be helpful to see the exact vutil command as entered (complete with filenames specified), and the complete error message received.
Also, what version of Acu/extend are you using, and on which version of Windows?
This is a batch process that has only occurred a couple of times and we are never able to reproduce it. We log the information into a table
Version is 188.8.131.52 on Windows Server 2008
We successfully use a command like this dozens of times every day, but on 12/28/2015 we got two instances where it returned Exit Status 94.
The code that does the call to vutil:
01 WK-VUTIL-COMMAND PIC X(200).
01 CSERIES-EXIT-STATUS PIC 9(02).
A string like this is put into WK-VUTIL-COMMAND:
"\\prodapps\prodsys$\Acucorp\Acucbl813\AcuGT\bin\vutil32 -unload -t IndexedFileName TextFileName".
CALL "c$system" USING WK-VUTIL-COMMAND,
Thanks for explaining that vutil32 was invoked via a call to C$SYSTEM. We have a couple of suggestions about your call to invoke vutil32:
1) Modify your command line so that it redirects output of the vutil command to a file, by appending something like "> unload.txt" to the command line. This will allow you to see the error message returned by vutil.
2) Increase the size of your exit-status field to 3 digits, as some statuses returned may be larger than 2 digits.
So far, I've not found any information about the meaning of a "94" exit status, but since the status code could be 3 digits, we may not be looking at the complete status value returned.
My runtime manual says that status 94 indicates too many files open by the current process (open). I tried to duplicate the issue but couldn't. Are you sure the file is not in use at the time of the vutil32 command (probly would be a status 93 but just askin) by a backup or something? Is it a read-only file (sure, should not matter, but just askin)
Does vutil32 -rebuild issue the same status 94 on the file?
94,10 too many files open
94,62 one of the LINAGE values for this file is illegal or out of range
94,63 key not specified (specifying a table whose size is zero) in a SORT or MERGE statement