Performing transfers followed by a XCOM Inquire on Linux using a script receives a RC=36. Here is what is seen when the Inquire ends with a RC=36:
rm: cannot remove /../inquire.file': Operation not permitted
PRG=xcomtcp PID=pid
XCOMU1300I REQUEST # 000000 PROCESSED SUCCESSFULLY
Request 111111 not completed
Request 222222 not completed
Request 333333 not completed
End of Inquire, rc=36
XCOM™ Data Transport® for Linux PC
The RC=36 is the result of the "inquire.file" having old Request # for transfers that didn't complete.
In this case their user script fails to remove/delete the "inquire.file" successfully prior to performing new transfers leaving those old Request # in the file.
The RC=36 will be corrected once the "inquire.file" in question is removed and re-created successfully and the file no longer has old Request #.
So, in this case the "inquire.file" can be removed manually and let the script create a new one the next time it runs, but the user script needs to be debugged to determine why it cannot remove the file.