Charles, with 'SYS*.T*.R*.**' list you may pick SYS1.TOPSCRET.RACF.LIST files which is not a temp dataset . So I would suggest adding YY and DDD also to your search list 'SYSyyddd.T*.R*.**'
Here is a link to naming convention of temp datasets http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2b6b1/12.22.2.6? All temporary data set names begin as follows: SYSyyddd.Thhmmss.RA000.jjobname where: yy indicates the year ddd indicates the Julian day hh indicates the hour mm indicates the minute ss indicates the second jjobname indicates the name of the job Thanks Kolusu From: Charles Mills <[email protected]> To: [email protected] Date: 07/02/2015 01:56 PM Subject: How does one definitively recognize a temp dataset by name? Sent by: IBM Mainframe Discussion List <[email protected]> Is there a definitive rule for recognizing *by name* a system temporary dataset? The actual name, not &&WHATEVER. I am checking for (using RACF EGN notation here to express my rule) 'SYS*.T*.R*.**'. Is that sufficient to preclude false positives? Will it produce false negatives? Is it over-specified? Thanks, Charles ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
