Lindy,
The following is from DFSMSdfp Storage Administration Reference, which is the
manual you'll need to read to learn about ACS routines.
&PGM The name of the program the system is running. (See "Determining
Distributed FileManager/MVS Data Set Creation Requests" in
topic 16.3.7 for Distributed FileManager/MVS usage information.)
Type: Literal
Max value: 8 characters
________________________________
From: Lindy Mayfield [mailto:[EMAIL PROTECTED]
Sent: Mon 8/20/2007 8:35 PM
To: [email protected]
Subject: Re: Identifying SASDBs in SMS ACS routines
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
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