Running a CTSSYNC utility to synchronize a scratch volume between TMC and IBM data base robot we get
FUNCTION ---------------------- ATL ACTION ----------------------------- STATUS
QUERY 500000 QUERY COMPLETE, VOLUME IN ROBOT
QUERY 500000 OUT OF SYNC: TVIUSEA = P & TVILCAT = UN
How can this be corrected?
The reason of this error is displaying, is “SYNC operation failed. The ATL TCDB status x and LM status yy are different. Use IBM ISPF panels to resolve the discrepancy.”
The P=private, S=scratch UN=unknown. The second digit is 0=physical tape, 1=logical VTS,2=VTS logical volume being imported, and =physical CTS volume but these values are set by IBM not CA1 and are in the CBRTVI macro under the TCDB USE ATTRIBUTE CONSTANTS .
See the following link:
https://www.ibm.com/docs/en/zos/2.4.0?topic=interface-tape-volume-information-cbrtvi-macro
You can also run CTSSYNC with two control statements if the TVIUSEA=S & TVILCAT=ERR but ONLY if CA 1 says the volumes is in SCRATCH status now.
PRIVATE,vvvvvv
SCRATCH,vvvvvv