I suggest looking at using the CSL routine and performing regular
checkback to check on mount status.
wait only waits for the initial I/O to complete, not the mount
completion notification.


Best Regards,
Les Geer
IBM z/VM and Linux Development

>here is the DFSMSRM command:
>'dfsmsrm MOUNT VOLUME' label '(RDEV' tape_addr 'LIBNAME TAPLIB READWR WAIT
> ATTACH * VDEV 181'
>
>but, the EXEC just plows on and i get
>SPXTAPE CANCEL INITIATED ON VDEV 0181
>
>i think because RMSMASTR has not finished mounting the tape.
>
>the RC would be sufficient.
>
>> Have you tried the WAIT option on DFSMSRM MOUNT?  Do you need to trap
>> the response from DFSMSRM, or will the return code be sufficient?

Reply via email to