Or, if you want to prevent ALL users from creating PDS/E datasets, then you can make a more general ACS statement.
There are some functions that need to create PDS/E datasets. So figure out which is the easier to maintain A FILTLIST with an INCLUDE for 1) Users that can create PDS/E Or 2) Users that cannot create PDS/E Remember, if you are planning to go to Enterprise COBOL V5 and above, datasets for the Cobol Compiler and the Load Module will need to be PDS/E datasets. Based on what I have seen for PDS/E V2 - I can see at some point that IBM might make a direction statement that PDS datasets should only be PDS/E datasets. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of Tabor, Rich > Sent: Friday, July 03, 2015 7:48 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: SMS ACS ROUTINE VARIABLES > > Comparing &USER to &JOB might be useful. > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of willie bunter > Sent: Friday, July 03, 2015 6:34 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: [IBM-MAIN] SMS ACS ROUTINE VARIABLES > > I saw the &USER variable in the doc but I was thrown off track when I read > the explanation of &USER which says the following : The user ID of the > person allocating the dataset. I would like to try your suggestion however > since we have multiple batch users begining @ would a @* work because the > job(s) are submitted by the scheduler? > > -------------------------------------------- > On Thu, 7/2/15, Greg Shirey <wgshi...@benekeith.com> wrote: > > Subject: Re: SMS ACS ROUTINE VARIABLES > To: IBM-MAIN@LISTSERV.UA.EDU > Received: Thursday, July 2, 2015, 1:46 PM > > &USER is the User ID > associated with the batch job. If you have a FILTLIST of the User IDs called, > say, "NOPDSES", then you can code: > > WHEN > (&USER EQ &NOPDSES AND > > &DSNTYPE EQ 'LIB') THEN DO > WRITE 'NOT ALLOWED FOR PDSE' > EXIT CODE(12) > > END > > > HTH, > Greg Shirey > Ben E. Keith Company > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of willie bunter > Sent: Thursday, > July 02, 2015 12:35 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: SMS ACS ROUTINE VARIABLES > > Hallo All, > > I am stuck with trying to figure out how I can code the variable for a Batch > userid. For examle users aren't allowed to create a PDSe. I thought by > coding the condition for the user's batch id it would solve the problem. > However, I looked at all the SMS ACS read variable list but there is none for a > batch id. > Could anyone suggest how I can go about this? > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN