The user can choose to wait after issuing an HSMS statement until HSMS has completed the required actions. In this case WAIT-FOR-COMPLETION=*YES must be specified for the OPERATION-CONTROL=*PARAMETERS(...) operand.
If HSMS establishes that tape access is required for processing an HSMS statement and tape processing is currently prohibited, the statement is rejected for dialog requests. In batch mode, the statement is passed to a server task at the beginning of a tape processing session.
The HSMS administrator can define maximum wait times for accepting and starting request processing (MODIFY-HSMS-PARAMETERS). Any request not accepted within the defined wait time will be rejected.
If a request is not processed completely by a server task within the defined wait time, HSMS will automatically continue processing of the request asynchronously.
The HSMS administrator can define separate maximum wait times for interactive and batch tasks respectively.
Processing pattern (simplified):