Re: Question on ACS Routines

2009-09-17 Thread Darth Keller
Hi Listeners, I'm trying to understand how this works: SELECT WHEN (HLQ = USER)/* When the dataset's HLQ is a*/ SET STORCLAS = 'USERSC' /* userid, set the storage class */ /* to USERSC. */ USER is a read-only

Re: Question on ACS Routines

2009-09-17 Thread Doug Fuerst
Do you have a filtlist? I believe that to use user, you would have to filter on user, as in FILTLIST USER INCLUDE (XXX*) then WHEN (DSN EQ USER) DO SET STORCLAS EQ 'USERSC' EXIT END Doug Darth Keller wrote: Hi Listeners, I'm trying to understand how this works: SELECT WHEN

Re: Question on ACS Routines

2009-09-17 Thread Darth Keller
Do you have a filtlist? I believe that to use user, you would have to filter on user, as in FILTLIST USER INCLUDE (XXX*) then WHEN (DSN EQ USER) DO SET STORCLAS EQ 'USERSC' EXIT END Doug Good point, Doug - but USER is a read-only variable which IIRC is the ID of the user allocating the

Re: Question on ACS Routines

2009-09-17 Thread Doug Fuerst
I don't think so. You can mask any filtlist (I do all kinds, db2 datasets, tso, ftp, ftpusers, etc). The include would be masked with the ID's he wanted to include (or exclude, for that matter), or at least that's what we do. Doug Darth Keller wrote: Do you have a filtlist? I believe that to

Re: Question on ACS Routines

2009-09-17 Thread John Kington
George, SELECT WHEN (HLQ = USER)/* When the dataset's HLQ is a*/ SET STORCLAS = 'USERSC' /* userid, set the storage class */ /* to USERSC. */ This looks like it should work if you are in the alloc acs

Re: Question on ACS Routines

2009-09-17 Thread John Kington
Doug, As Darth stated, USER is a read only variable passed into the alloc environment. I don't have access to an environment where I can run a quick test but I suspect you would get a translate error if you attempted to use a filter list with name USER. Regards, John

Re: Question on ACS Routines

2009-09-17 Thread George Rodriguez
Years -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Darth Keller Sent: Thursday, September 17, 2009 1:28 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Question on ACS Routines Do you have a filtlist? I believe that to use user, you would have

Re: Question on ACS Routines

2009-09-17 Thread Darth Keller
I don't think so. You can mask any filtlist (I do all kinds, db2 datasets, tso, ftp, ftpusers, etc). The include would be masked with the ID's he wanted to include (or exclude, for that matter), or at least that's what we do. Doug // I agree that you can have lots of different