Tom, You're right, I hit send to soon.
 Forgot the EXIT Code(16)

That will fail the allocation, of course if you want to be nice re-directing 
the allocation to SMS will allow the job to continue.

________________________________________
From: IBM Mainframe Discussion List [EMAIL PROTECTED] On Behalf Of Tom Marchant 
[EMAIL PROTECTED]
Sent: Thursday, November 20, 2008 10:38 AM
To: [email protected]
Subject: Re: Preventing allocation on non-sms volsers

On Thu, 20 Nov 2008 09:53:50 -0500, O'Brien, David W. wrote:

>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.

--
Tom Marchant

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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