Brian,

That would depend on how you code your ACS routines. If STORGRUP is
allocated based on STORCLAS, and you do not change the STORCLAS in the
RECALL environment then the datasets will be recalled to the same choice of
STORGRUP.

In STORCLAS ACS something like you're the example:

        WHEN (&PGM EQ 'sasprog')
                DO                     
                SET &STORCLAS = 'SCSASDB'
                EXIT                 
        END                            

 And in the STORGRUP ACS something like:

        WHEN (&STORCLAS EQ 'SCSASDB')
                DO                     
                SET &STORGRP = 'SGSASDB'
                EXIT                 
        END                            

It's always been my practice to do the hard work classifying data in the
STORCLAS routine, and simply assigning STORGRUP based on STORCLAS. I found
it simpler to maintain, and it avoided mistakes due to redundant processing.


Ron

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of FRASER, Brian
> Sent: Monday, August 20, 2007 4:47 PM
> To: [email protected]
> Subject: Re: [IBM-MAIN] Identifying SASDBs in SMS ACS routines
> 
> This would work for the initial allocation, but would fail to 
> correctly place the DSN if it gets migrated and subsequently recalled.
> 
> <snip>
>  
> WHEN (&PGM EQ 'sasprog')
>   DO                     
>   SET &STORGRP = 'xxx'
>   EXIT                 
> END                            
> 
> </snip>
>

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