David, That works, unless they pre-allocate with an IEFBR14...
Ron > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of O'Brien, David W. > (NIH/CIT) [C] > Sent: Monday, August 20, 2007 8:37 AM > To: [email protected] > Subject: Re: [IBM-MAIN] Identifying SASDBs in SMS ACS routines > > It's been awhile since I had to deal with SAS on a maiframe > but don't all SAS executions use the same program name? > Something like the following may work for you: > > WHEN (&PGM EQ 'sasprog') > DO > SET &STORGRP = 'xxx' > EXIT > END > > ________________________________ > > > I am trying to write some SMS ACS code to identify SAS > databases. SASDBs seem to have these characteristics - > DSORG=PS and RECFM=FS. I want to set up a separate SMS > Storage group for SASDBs but I can't seem to find a way to > code something in the ACS routines. I can do a check for > &DSORG=PS but there doesn't seem anything for the RECFM. Any ideas? > > > > > ---------------------------------------------------------------------- > 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

