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
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
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
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
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
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
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
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
8 matches
Mail list logo