Re: SQL statement for multiple classes

2021-03-12 Thread Skylar Thompson
odename1 1123123131223 > > Thanks for your help! > > Kind regards, > Eric van Loon > Air France/KLM Storage & Backup > > -Original Message- > From: ADSM: Dist Stor Manager On Behalf Of Skylar > Thompson > Sent: vrijdag 12 maart 2021 16:49 > To

Re: SQL statement for multiple classes

2021-03-12 Thread Loon, Eric van (ITOP NS) - KLM
Hi Marc, This was exactly what I was looking for, thank you VERY much!!! Kind regards, Eric van Loon Air France/KLM Storage & Backup -Original Message- From: ADSM: Dist Stor Manager On Behalf Of Marc Lanteigne Sent: vrijdag 12 maart 2021 17:10 To: ADSM-L@VM.MARIST.EDU Subject: Re:

Re: SQL statement for multiple classes

2021-03-12 Thread Loon, Eric van (ITOP NS) - KLM
U Subject: Re: SQL statement for multiple classes Hi Eric, You can part of the way there with GROUP BY: SELECT node_name,class_name,COUNT(*) FROM archives GROUP BY node_name,class_name This will give you one row per (node_name,class_name) tuple. In order to get row values as columns, though, you n

Re: SQL statement for multiple classes

2021-03-12 Thread Marc Lanteigne
Hi Eric, I was actually trying to something similar with different data and tables a few weeks ago. With the help of a co-worker, we figured it out. It has to be a 2 step process. First you get a list of all the values you want as the column headings, in your case, the class name: select distinc

Re: SQL statement for multiple classes

2021-03-12 Thread Skylar Thompson
Hi Eric, You can part of the way there with GROUP BY: SELECT node_name,class_name,COUNT(*) FROM archives GROUP BY node_name,class_name This will give you one row per (node_name,class_name) tuple. In order to get row values as columns, though, you need to do a pivot (aka crosstab), which I'm not

Re: SQL STATEMENT

2018-01-22 Thread Rick Adamson
You'll need to query the Events table for this info. Modify the current time stamp as needed but I strongly suggest using it when querying the Events (and Backups) table. Something along the lines of: select node_name,status from events where (scheduled_start>=current_timestamp - 24 hours) -Ri

Re: SQL STATEMENT

2018-01-22 Thread Marc Lanteigne
Hi James, There is probably an example like you are looking for here: http://thobias.org/tsm/sql/ - Thanks, Marc... Marc Lanteigne Accelerated Value Specialist for Spectrum Protect 416.478.0233 | marclantei...@ca.ibm.com Office Hours: Mond

Re: SQL statement

2016-04-12 Thread Robert Talda
g up space on the TSM server... >>> Thanks again for your help! >>> Kind regards, >>> Eric van Loon >>> Air France/KLM Storage Engineering >>> >>> -Original Message- >>> From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.

Re: SQL statement

2016-04-12 Thread Skylar Thompson
y > > table? I want them listed in the exception report too, even though they are > > not taking up space on the TSM server... > > Thanks again for your help! > > Kind regards, > > Eric van Loon > > Air France/KLM Storage Engineering > > > > --

Re: SQL statement

2016-04-12 Thread Robert Talda
ce/KLM Storage Engineering > > -Original Message- > From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of > Robert Talda > Sent: maandag 11 april 2016 19:34 > To: ADSM-L@VM.MARIST.EDU > Subject: Re: SQL statement > > EJ: > > Are you s

Re: SQL statement

2016-04-12 Thread Loon, EJ van (ITOPT3) - KLM
n for your help! Kind regards, Eric van Loon Air France/KLM Storage Engineering -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Robert Talda Sent: maandag 11 april 2016 19:34 To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement EJ: Are you sur

Re: SQL statement

2016-04-11 Thread Robert Talda
EJ: Are you sure the missing filespaces have data? if not, they won’t have associated occupancy records and thus won’t appear in the output. I trip over that from time to time myself Robert Talda EZ-Backup Systems Engineer Cornell University +1 607-255-8280 r...@cornell.edu > On Apr 11

Re: SQL statement

2016-02-01 Thread Shawn Gratz
Unsubscribe. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Erwann SIMON Sent: Saturday, January 30, 2016 4:03 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement Hi Eric, You're absolutely right, the SQL resultas are just to be use

Re: SQL statement

2016-01-30 Thread Erwann SIMON
space, in the second case you most likely don't want to... Kind regards, Eric van Loon AF/KLM Storage Engineering -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Erwann SIMON Sent: donderdag 28 januari 2016 16:46 To: ADSM-L@VM.MARIST.EDU

Re: SQL statement

2016-01-29 Thread Skylar Thompson
This is what I came up with: SELECT - f.node_name, - f.filespace_name, - f.backup_end, - CAST(ROUND(o.physical_mb/1024) as int) as "GB Stored" - FROM - filespaces f, - occupancy o - WHERE - o.node_name=f.node_name - AND o.filespace_name=f.filespace_name - AND ((o.type<>'

Re: SQL statement

2016-01-29 Thread Rhodes, Richard L.
If you get to a definitive sql statement, would love to see it! Rick -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Skylar Thompson Sent: Friday, January 29, 2016 10:14 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement You could get a

Re: SQL statement

2016-01-29 Thread Skylar Thompson
> Erwann SIMON > Sent: donderdag 28 januari 2016 16:46 > To: ADSM-L@VM.MARIST.EDU > Subject: Re: SQL statement > > Hi Eric, > > You maybe should add a condition if backup_end is null > > -- > Best regards / Cordialement / > Erwann SIMON > &g

Re: SQL statement

2016-01-29 Thread Loon, EJ van (ITOPT3) - KLM
[mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Erwann SIMON Sent: donderdag 28 januari 2016 16:46 To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement Hi Eric, You maybe should add a condition if backup_end is null -- Best regards / Cordialement / مع تحياتي Erwann SIMON - Mail original - D

Re: SQL statement

2016-01-28 Thread William Sefranek
You could do that but the query does not fail for filespaces with a BACKUP_END of null it just lists a blank value for DAYS_SINCE_BACKUP On 1/28/2016 10:46 AM, Erwann SIMON wrote: Hi Eric, You maybe should add a condition if backup_end is null -- William Sefranek University of Buffalo Enterp

Re: SQL statement

2016-01-28 Thread Michael Hedden
Hi,I'm looking for some help on SQL statement as well. Would you have a statement that lists just the amount of active data a node has stored - not the active and inactive... Thank youMichael On Thursday, January 28, 2016 10:08 AM, William Sefranek wrote: Eric, One other line you can

Re: SQL statement

2016-01-28 Thread Loon, EJ van (ITOPT3) - KLM
DSM-L@VM.MARIST.EDU Subject: Re: SQL statement Hi Eric, You maybe should add a condition if backup_end is null -- Best regards / Cordialement / مع تحياتي Erwann SIMON - Mail original - De: "EJ van Loon (ITOPT3) - KLM" À: ADSM-L@VM.MARIST.EDU Envoyé: Jeudi 28 Janvier 2016 16:

Re: SQL statement

2016-01-28 Thread Skylar Thompson
It would actually be in the table expression at the top: SELECT ... DAYS(current_timestamp)-DAYS(f.BACKUP_END) AS DAYS_SINCE_BACKUP, - FROM - ... On Thu, Jan 28, 2016 at 03:46:43PM +, King, Harold Clyde (Hal) wrote: > Bill where are you putting the ???DAYS??? part of the query? I???m a bit

Re: SQL statement

2016-01-28 Thread Skylar Thompson
was looking for. Thank you very much for your help!!! > Kind regards, > Eric van Loon > AF/KLM Storage Engineering > > -Original Message- > From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of > Skylar Thompson > Sent: donderdag 28 januari 2016 15:5

Re: SQL statement

2016-01-28 Thread King, Harold Clyde (Hal)
Bill where are you putting the “DAYS” part of the query? I’m a bit confused and can’t reproduce your statement. -- Hal On 1/28/16, 10:11 AM, "ADSM: Dist Stor Manager on behalf of William Sefranek" wrote: >Eric, > >One other line you can add to the select section is: >DAYS(current_timest

Re: SQL statement

2016-01-28 Thread Erwann SIMON
To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement Hi EJ, I think this will do the trick: SELECT - f.node_name, - f.filespace_name, - f.backup_end, - CAST(ROUND(o.physical_mb/1024) as int) as "GB Stored" - FROM - filespaces f, - occupancy o - WHERE - o.node_name=

Re: SQL statement

2016-01-28 Thread Loon, EJ van (ITOPT3) - KLM
@VM.MARIST.EDU Subject: Re: SQL statement Eric, One other line you can add to the select section is: DAYS(current_timestamp)-DAYS(f.BACKUP_END) AS DAYS_SINCE_BACKUP - Which will list the number of days since this filespace completed a backup. I use that in our query to list old filespaces due for cleanup

Re: SQL statement

2016-01-28 Thread Loon, EJ van (ITOPT3) - KLM
To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement Hi EJ, I think this will do the trick: SELECT - f.node_name, - f.filespace_name, - f.backup_end, - CAST(ROUND(o.physical_mb/1024) as int) as "GB Stored" - FROM - filespaces f, - occupancy o - WHERE - o.node_name=f

Re: SQL statement

2016-01-28 Thread William Sefranek
Eric, One other line you can add to the select section is: DAYS(current_timestamp)-DAYS(f.BACKUP_END) AS DAYS_SINCE_BACKUP - Which will list the number of days since this filespace completed a backup. I use that in our query to list old filespaces due for cleanup. Bill On 1/28/2016 9:58 AM, Sk

Re: SQL statement

2016-01-28 Thread Skylar Thompson
Hi EJ, I think this will do the trick: SELECT - f.node_name, - f.filespace_name, - f.backup_end, - CAST(ROUND(o.physical_mb/1024) as int) as "GB Stored" - FROM - filespaces f, - occupancy o - WHERE - o.node_name=f.node_name - AND o.filespace_name=f.filespace_name - AND

Re: SQL statement not working

2015-07-01 Thread Loon, EJ van (ITOPT3) - KLM
@VM.MARIST.EDU Subject: Re: SQL statement not working you’re missing the from clause of your sql statement. > Op 1 jul. 2015, om 09:49 heeft Loon, EJ van (ITOPT3) - KLM > het volgende geschreven: > > Hi guys! > I'm trying to select all ANE4987E messages for all nodes with the tex

Re: SQL statement not working

2015-07-01 Thread Remco Post
you’re missing the from clause of your sql statement. > Op 1 jul. 2015, om 09:49 heeft Loon, EJ van (ITOPT3) - KLM > het volgende geschreven: > > Hi guys! > I'm trying to select all ANE4987E messages for all nodes with the text > 'Component Team Windows' in the contact field. For some reason I

Re: SQL statement to list fs not backed up sorted on size

2014-03-18 Thread Ronald Le Large
0)) and f.node_name=o.node_name and f.filespace_name=o.filespace_name ORDER BY o.physical_mb DESC Kind regards, Eric van Loon AF/KLM Storage Engineering -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Skylar Thompson Sent: donderdag 13 maart 2014 17:3

Re: SQL statement to list fs not backed up sorted on size

2014-03-17 Thread Loon, EJ van (SPLXM) - KLM
: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Skylar Thompson Sent: donderdag 13 maart 2014 17:37 To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement You'll want to do a join across both tables on the node name. Something like this: SELECT f.node_name,f.filespace_name,o.ph

Re: SQL statement

2014-03-16 Thread Grant Street
Be aware that this does not work for snapdiff backups. RFE 13145 : snapdiff to update last backup fields in filespace data Grant On 14/03/14 03:37, Skylar Thompson wrote: You'll want to do a join across both tables on the node name. Something like this: SELECT f.node_name,f.filespace_name,o.

Re: SQL statement

2014-03-13 Thread Skylar Thompson
You'll want to do a join across both tables on the node name. Something like this: SELECT f.node_name,f.filespace_name,o.physical_mb - FROM filespaces f - INNER JOIN occupancy o ON f.node_name=o.node_name - WHERE - (days(f.backup_end) < (days(current_date)-

Re: SQL statement

2014-03-13 Thread Rick Harderwijk
Can't you combine a node name and a filespace name to a unique combination? Cheers, Rick On Thu, Mar 13, 2014 at 5:16 PM, Loon, EJ van (SPLXM) - KLM < eric-van.l...@klm.com> wrote: > Dear TSM-ers, > > I'm trying to generate a SQL statement to create a list of filespaces > which are not backed u

Re: SQL Statement

2014-01-06 Thread Loon, EJ van - SPLXM
Hi Jeff! Thank you VERY much for your reply! You did put me on the right track. It resulted in the most complex SQL statement I ever created: select a.node_name as "Nodename",count(*) as - "Amount of backup files older than 30 days" from backups a,nodes b - where ((days(current_date) - days(

Re: SQL statement

2013-12-19 Thread apaschal5
Hi, Eric. You need to define how to join the tables. In this case, a "where" condition like... nodes.nodename = backups.nodename Without that, you'll end up with a join table that has every combination of the rows of both tables. Sent from my phone, so please excuse typos. - Reply messa

Re: Re: SQL statement generates an ANR9999D

2013-12-05 Thread David Bronder
works. Looks like a bug to me... Kind regards, Eric van Loon AF/KLM Storage Engineering -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Ronald Le Large Sent: donderdag 5 december 2013 14:17 To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement gener

Re: SQL statement generates an ANR9999D

2013-12-05 Thread Loon, EJ van - SPLXM
onald Le Large Sent: donderdag 5 december 2013 14:17 To: ADSM-L@VM.MARIST.EDU Subject: Re: SQL statement generates an ANRD Eric, I can execute the sql without receiving the ANR I run it on V 6.3.3.0 Kind regards, Ronald Le Large Information technology officer Storage Management

Re: SQL statement generates an ANR9999D

2013-12-05 Thread Ronald Le Large
Eric, I can execute the sql without receiving the ANR I run it on V 6.3.3.0 Kind regards, Ronald Le Large Information technology officer Storage Management | Dir. 2.8.4.1 European Patent Office -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Be

Re: sql statement

2010-06-04 Thread Thomas Denier
-Ashish Sharma wrote: - >Could anyone provide me a sql statement which can check if any copy >storage pool volume is mounted in tape drive at the moment? I need >this to configure script for my DRP. select volume_name from drives where volune_name in (select volume_name from stgpools wh

Re: SQL statement

2010-06-04 Thread Prather, Wanda
Ooh, cool! Thanks! -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Cowen, Richard Sent: Friday, June 04, 2010 11:31 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] SQL statement Connecting directly to DB2: Database Connection Information

Re: SQL statement

2010-06-04 Thread Cowen, Richard
Storage Management Server for AIX - Version 6, Release 2, Level 0.0 (AIX v5.3) tsm: TSMTEST1>select stgpool_name from stgpools where stgpool_name like '%\_%' escape '\' STGPOOL_NAME TEST_POOL tsm: TSMTEST1>select stgpool_name from stgpools where stgpool_name like

Re: SQL statement

2010-06-04 Thread Cowen, Richard
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 --

Re: SQL statement

2010-06-04 Thread Richard Sims
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

Re: SQL statement

2010-06-04 Thread Prather, Wanda
Ow. Richard, do you know if it works this way still in V6? -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Sims Sent: Friday, June 04, 2010 10:36 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] SQL statement I worked with Eric on thi

Re: SQL statement

2010-06-04 Thread Loon, EJ van - SPLXM
VERY much! Kind regards, Eric van Loon KLM Royal Dutch Airlines -Original Message- From: Richard Sims [mailto:r...@bu.edu] Sent: vrijdag 4 juni 2010 16:07 To: Loon, EJ van - SPLXM Subject: Re: SQL statement On Jun 4, 2010, at 9:23 AM, Loon, EJ van - SPLXM wrote: > Hi Richard! > T

Re: SQL statement

2010-06-04 Thread Richard Sims
I worked with Eric on this. In case anyone else runs into similar... File system directory and file names may well contain underscore (_) characters, which is fine. What may not be realized, however, is that in a Select LIKE, an underscore is a wildcard for any single character. An example of

Re: SQL statement

2005-11-23 Thread goc
- Original Message - From: "Loon, E.J. van - SPLXM" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 23, 2005 10:44 AM Subject: SQL statement Hi *SM-ers! My management would like to know how much they can save by changing our retention periods. Currently, we store most of our backups f

Re: SQL statement

2005-11-23 Thread Richard Sims
On Nov 23, 2005, at 4:44 AM, Loon, E.J. van - SPLXM wrote: Can anybody help me with creating a SQL statement which tells me how much inactive backup data is stored on the TSM server for a specific node? Eric - See "Inactive files, number and bytes" in the TSM Wiki or ADSM QuickFacts. Richar

Re: SQL statement

2005-11-23 Thread Remco Post
Loon, E.J. van - SPLXM wrote: > Hi *SM-ers! My management would like to know how much they can save > by changing our retention periods. Currently, we store most of our > backups for 14 days and I will have to find out how much we save by > changing this to 7 days. I'm trying to create a SQL statem

Re: SQL statement

2005-09-15 Thread Leigh Reed
Joni, Try order by "date" Leigh -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Joni Moyer Sent: 15 September 2005 14:53 To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] SQL statement Hi Everyone! Does anyone know what I am doing wrong with this s

Re: SQL statement help

2005-03-01 Thread JR Trimark
Andy, Thank you very much for your help, the results are exactly what I was looking for. Andrew Raibeck <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" 02/28/2005 04:06 PM Please respond to "ADSM: Dist Stor Manager" To ADSM-L@VM.MARIST.EDU cc Subject Re: [ADSM-L] SQL statement help

Re: SQL statement help

2005-02-28 Thread Mark D. Rodriguez
JR, What would be wrong with just doing : q eve * * begindd=-7 ennd=today exceptionsonly=yes Unless your question is just an SQL concern I think this will give you just what you are looking for! -- Regards, Mark D. Rodriguez President MDR Consulting, Inc. ===

Re: SQL statement help

2005-02-28 Thread Andrew Raibeck
See http://msgs.adsm.org/cgi-bin/get/adsm0501/349/1.html for a suggested workaround. Refer to APARs IC28825 and IC34609 (at http://www.ibm.com) for more info describing limitations of querying the EVENTS table. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Developme

Re: sql statement that shows the active files for a client

2004-02-23 Thread Andrew Raibeck
See the BACKUPS table. You should find the answer to your question by querying the COLUMNS table for information about the fields in the BACKUPS table: select * from columns where tabname='BACKUPS' or, more briefly, select colname, remarks from columns where tabname='BACKUPS' Regards, A

Re: SQL statement

2004-01-05 Thread Loon, E.J. van - SPLXM
: [EMAIL PROTECTED] Subject: Re: SQL statement Hi Eric, There is no such table that gives you detailed information on which files were restored. The SUMMARY table will give you basic statistics about restores (SELECT * FROM SUMMARY WHERE ACTIVITY='RESTORE') but that's about it. Regar

Re: SQL statement

2003-12-31 Thread Andrew Raibeck
Hi Eric, There is no such table that gives you detailed information on which files were restored. The SUMMARY table will give you basic statistics about restores (SELECT * FROM SUMMARY WHERE ACTIVITY='RESTORE') but that's about it. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Ma

Re: SQL statement

2003-12-31 Thread John Monahan
cc Dist Stor Manager" Subject <[EMAIL PROTECTED] Re: SQL statement .EDU> 12/31/2003 08:11 AM Please respond to &quo

Re: SQL statement

2003-12-31 Thread Richard Sims
'>Do you really think storing this information will have such a large impact >on the database? Storing restore information shouldn't use more database >space than storing backup information? Yes...because restorals can be performed over and over again on the same data, and because of the nature of

Re: SQL statement

2003-12-31 Thread Loon, E.J. van - SPLXM
KLM Royal Dutch Airlines -Original Message- From: Richard Sims [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 14:27 To: [EMAIL PROTECTED] Subject: Re: SQL statement >I'm looking for an SQL statement which returns all restores (nodes and >filenames) done by my cli

Re: SQL statement

2003-12-31 Thread Richard Sims
>I'm looking for an SQL statement which returns all restores (nodes and >filenames) done by my clients. >I'm not much of an SQL wizard, so maybe someone is willing to help me or >give me a hint? Eric - I don't believe that such capability exists. Certainly, storing minutiae like that would

Re: SQL statement

2003-12-31 Thread Loon, E.J. van - SPLXM
om: Kurt Beyers [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 13:54 To: [EMAIL PROTECTED] Subject: Re: SQL statement Eric, 'select node_name, filespace_name, filespec from restores' should give the wanted information. best regards, Kurt >- Oorspronkelijk bericht

Re: SQL statement

2003-12-31 Thread Kurt Beyers
Eric, 'select node_name, filespace_name, filespec from restores' should give the wanted information. best regards, Kurt >- Oorspronkelijk bericht - >Van : Loon, E.J. van - SPLXM [mailto:[EMAIL PROTECTED] >Verzonden : woensdag , december 31, 2003 12:33 PM >Aan : [EMAIL PROTECTED] >Onde

Re: SQL Statement

2002-11-06 Thread Seay, Paul
The issue is a node connects to a policy domain that connects to a management class and in the management class is the copy group, but the decision as to what management class is used in the policy domain is a client include/exclude or a clientopt decision unless the default management class is use

Re: SQL statement

2002-11-06 Thread Joerg Pohlmann
Raymond, there are different aspects to your question: 1. If your question is "where will the data go if my node were to back up/archive/space manage something" is almost impossible to answer with select statements. It depends on the design of your TSM environment - which management classes are av

Re: SQL statement

2002-05-30 Thread Mahesh Tailor
Here's an alternate . . . select distinct node_name,stgpool_name from occupancy Also, if you type . . . select * from occupancy . . . you'll get the entire table. Hope this helps. Mahesh >>> [EMAIL PROTECTED] 05/29/02 11:18AM >>> I hope this is what you are looking for. select node_name,s

Re: SQL statement

2002-05-30 Thread Ammann, Tom
Hi, If you install the TSM ODBC Driver and point it at your TSM Server's IP Address and Port 1500, you can do this query in Excel or MS Access. In MS Excel click on Data, Get external data, new database query, Click on the Data Source name that is your ODBC connection Name, and log in to your TSM

Re: SQL statement

2002-05-30 Thread Sung Y Lee
I hope this is what you are looking for. select node_name,stgpool_name from occupancy similar to q occup Sung Y. Lee 512-823-1012 Bernard Rosenbloom To: [EMAIL PROTECTED] Subject: SQL sta

Re: SQL statement

2002-05-30 Thread Bernard Rosenbloom
> > You can also add a where clause if you would like. > > Paul D. Seay, Jr. > Technical Specialist > Naptheon, INC > 757-688-8180 > > -Original Message- > From: Joel Fuhrman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 29, 2002 5:27 PM > To: [EMAIL PRO

Re: SQL statement

2002-05-30 Thread Seay, Paul
Fuhrman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 5:27 PM To: [EMAIL PROTECTED] Subject: Re: SQL statement search www.adsm.org and will find hundreds of SQL examples. On Wed, 29 May 2002, Bernard Rosenbloom wrote: > I have an immediate need to create a list of all my registered no

Re: SQL statement

2002-05-29 Thread Joel Fuhrman
search www.adsm.org and will find hundreds of SQL examples. On Wed, 29 May 2002, Bernard Rosenbloom wrote: > I have an immediate need to create a list of all my registered nodes and > the storage pool(s) each node backs up to. I know almost nothing about > creating an SQL statement so if anyone

Re: SQL STATEMENT TO RELATE TABLES

2001-07-25 Thread Scotty Logan
On 25 July 2001, Gerardo Zapata wrote: > The objective is to determine the name of a volume containing a specific > archive from a specifice node. > > I use the following SQL to get the data: > > select volume_name,node_name,type from contents where node_name='MYNODE' and > type='Arch' > > select