The format of the Volume Query Request is:
QUERY libraryname volume
where:
Format of the external program response:
QUERY libraryname volume COMPLETE, STATUS=statusValue, RESULT=resultCode
where:
If resultCode is not SUCCESS, the exit must return statusValue set to UNDEFINED. If resultCode is SUCCESS, STATUS must be one of the following values:
IN_LIBRARY means that the volume is currently in the library and available to be mounted.
NOT_IN_LIBRARY means that the volume is not currently in the library.