I know absolutely nothing about ACS (other than what I've just read of course) but what does &PGM refer to? Will this work when SAS is run from TSO (or ISPF)?
I do know that that is something to consider with SMF records written. Lindy -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of O'Brien, David W. (NIH/CIT) [C] Sent: 20. elokuuta 2007 18:37 To: [email protected] Subject: Re: 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 ---------------------------------------------------------------------- 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

