On Thu, 7 Jun 2007 18:30:51 +0800, Tommy Tsui <[EMAIL PROTECTED]> 
wrote:

>Hi all,
>Thanks all of your kind information and advice. what I try to do is that
>1) in JCL if no storage class and dataclass code then all datasets will
>allocate to non-sms managed volume or work pack.

Are you sure that's what you want to do?
Normally, your ACS routines whould assign a storage class, which makes the 
data set SMS managed.

>2) If JCL code the STORCLAS & DATACLAS then all datasets will allocate to
>sms-managed volume
>
>In case 2, all dataset will only allocate to sms-managed volume if
>VOL=SER=XXXX is specified, how can I allocate all dataset to sms-managed
>volume without assign the VOL=SER=XXXXX,  I think ACS bypass something
>
>In ACS routine Storage group
>I specified the following
>   WHEN  (&STORCLAS = 'SC4G')
>     DO
>       SET &STORGRP='SG4G'
>       EXIT
>     END

You need to look at your Storage Class ACS routine.  The storage class that 
you specify in JCL is only used as input to the SC ACS routine, which can then 
accept the value specified or change it.

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

Reply via email to