>ACS routines would do it.
>
>Something like the following should suffice:
>
> WHEN (&ANYVOL EQ ML1*)                                 where ML1 is the
prefix for your HSM ML1 volumes
>   DO
>     write 'do not use ML1 volumes for allocation'
>     EXIT
>   END

>Good idea to put out a message.  That won't cause the allocation to fail,
>though, will it?  You'd probably want to assign a storage class so that 
it
>would go on an SMS-managed volume.

But you can also set a Return Code for the allocation which will cause it 
to fail:
exa:
 EXIT CODE(12) 

It just depends on how big you want your hammer to be.
ddk


**************************************************************************************
This e-mail message and all attachments transmitted with it may contain legally 
privileged and/or confidential information intended solely for the use of the 
addressee(s). If the reader of this message is not the intended recipient, you 
are hereby notified that any reading, dissemination, distribution, copying, 
forwarding or other use of this message or its attachments is strictly 
prohibited. If you have received this message in error, please notify the 
sender immediately and delete this message and all copies and backups thereof.

Thank you.
**************************************************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to