To wait for rmsmastr to be ready before starting tape-dependent products 
I
do a loop of DFSMSRM QUERY LIBRARY OPSTATE (WAIT
and when the RC=0 check the response in detail (or assume it's ready),
otherwise,
 for non-zero RC wait a while and check again in whatever time interval
suits you or abort after too many waits or seconds.

VMLINK DFSMS 1B5
DFSMSRM QUERY LIBRARY OPSTATE (WAIT

if you have multiple libraries there's syntax to name the one you're quer
ying

Reply via email to