CTSSYNC QUERY error REQUEST FAILED RC=004,RS=322,FB=00000000

Document ID : KB000100894
Last Modified Date : 12/06/2018
Show Technical Document Details
Question:
Trying to use CTSSYNC to SYNC the TCDB/VOLCAT with the status found in the TMC.  Getting the following message:
QUERY error REQUEST FAILED RC=004,RS=322,FB=00000000
What does the RS=322 mean?
Answer:
CTSSYNC prints the reason code and return code that is passed to it from IBM software when a command is issued to OAM.  The meaning of these codes can be found in SYS1.MACLIB(CBRLCSPL).  In this example the Reason Code of 322 means that OAM rejected the command of QUERY.  QUERY just checks to see if the tape is in the ATL/VTS device.