You can tell SAS which record type to use (as long as it is > 127), and the SMF options can be put into a restricted options table so that a user cannot touch them. So you definitely pick an unused record type number.
The actual writing of the record is done by the SAS SVC so none of the SAS programs need to reside in APF controlled libraries. Lindy -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Ed Gould Sent: 29. tammikuuta 2008 3:00 To: [email protected] Subject: Re: identify sas uage by component If you are talking some components of SAS then I agree that SAS cutting the SMF record is probably the only way. If you are talking about SAS itself running as a batch job the type (4 or 3X) is a reasonable way of catching it. Otherwise you are stuck with SAS creating the SMF record. Personally I am *LOATH* to let programs cut their own records. I have seen (in the past) where they cut records and the layouts are like say DFSORT records and use the same number and the program that then processes the records abends because of this discrepancy. If I were to do it. I would make sure that any records it cuts do *NOT* get into the weekly or Monthly cumulative tapes. Also probably you may have to make the SAS library APF authorized in order to cut SMF records, not a good thing to let loose in the general population (make sure its write protected). Ed ---------------------------------------------------------------------- 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

