Re: [ADSM-L] SQL statement
2010-06-04 11:34:56
Ooh, cool! Thanks!
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Cowen, Richard
Sent: Friday, June 04, 2010 11:31 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] SQL statement
Connecting directly to DB2:
Database Connection Information
Database server = DB2/AIX64 9.7.1
SQL authorization ID = TSMTEST1
Local database alias = TSM1
select tabschema,tabname,owner from syscat.tables where
tabname='STGPOOLS'
TABSCHEMA
TABNAME
OWNER
------------------------------------------------------------------------
--------------------------------------------------
------
------------------------------------------------------------------------
-------------------------------------------
-------------
------------------------------------------------------------------------
------------------------------------
--------------------
TSMDB1
STGPOOLS
TSMTEST1
1 record(s) selected.
select stgpool_name from tsmdb1.stgpools where stgpool_name like '%\_%'
escape '\'
STGPOOL_NAME
-------------------------------
TEST_POOL
1 record(s) selected.
select stgpool_name from tsmdb1.stgpools where stgpool_name like '%\_%'
STGPOOL_NAME
-------------------------------
0 record(s) selected.
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Richard Sims
Sent: Friday, June 04, 2010 11:02 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] SQL statement
On Jun 4, 2010, at 10:41 AM, Prather, Wanda wrote:
> Ow.
> Richard, do you know if it works this way still in V6?
Hi, Wanda -
We remain a v5 shop, pending a lot of infrastructure decisions to be
made by a new VP, so I haven't that experience. I would expect DB2 to
be much more conformant to SQL standards than the Select accommodations
in "TSM Classic". Perhaps a customer with v6 can lend to this.
Richard
The information contained in this transmission may contain privileged
and confidential information.
It is intended only for the use of the person(s) named above. If you are
not the intended
recipient, you are hereby notified that any review, dissemination,
distribution or
duplication of this communication is strictly prohibited. If you are not
the intended recipient,
please contact the sender by reply email and destroy all copies of the
original message.
To reply to our email administrator directly, please send an email to
postmaster AT sbsplanet DOT com.
|
|
|