Re: Using select statements

2004-06-30 Thread David E Ehresman
Do a "q script fsnobackup'. I think that might be a TSM supplied script that does what you want. Matter of fact, do a "q script" and get familar with the supplied scripts. Some of them are quite useful and others serve as a good starting point for writing your own queries. David >>> [EMAIL PRO

Antwort: Using select statements

2004-06-30 Thread Ralf Behrendt
Hallo, I use select  node_name,filespace_name,backup_end from filespaces where cast ((current_timestamp-backup_end)days as decimal(3,0))>3 mit freundlichen Grüßen Ralf Behrendt WGZ-Bank Organisation und Betrieb - IT-Systeme - Ludwig-Erhard-Alle 20 D - 40227 Düsseldorf Telefon:   +49 211 778 39

Re: Using select statements

2004-06-30 Thread Henrik Wahlstedt
cc: (bcc: Henrik Wahlstedt) Sent by: Subject: Re: Using select statements "ADSM: Dist Stor Manager" <[EMAIL PROTECTED] RIST.EDU>

Re: Antwort: Re: Using select statements

2004-06-30 Thread Stapleton, Mark
"Karin Dambacher" <[EMAIL PROTECTED]> >you can use the sample script FSNOBACKUP. Start it with "run >fsnobackup 3" >(3 = 3 days since they have not been completed). From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Moses Show >Where can I locate this sample script Read your

Antwort: Re: Antwort: Re: Using select statements

2004-06-30 Thread Karin Dambacher
| | Kopie:(Blindkopie: Karin Dambacher/Emprise) |

Re: Antwort: Re: Using select statements

2004-06-30 Thread Moses Show
Where can I locate this sample script "Karin Dambacher" <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 30/06/2004 13:21 Please respond to "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> To [EMAIL PROTECTED] cc Subje

Antwort: Re: Using select statements

2004-06-30 Thread Karin Dambacher
| | Kopie:(Blindkopie: Karin Dambacher/Emprise)

Re: Using select statements

2004-06-30 Thread Moses Show
Hi, I forgot to include the select statement that I have written. It takes the following form. "select node_name, filespace_name, date(backup_date) from backups where ((days(backup_date) - days(current_date))) >=-3" == Thi

Using select statements

2004-06-30 Thread Moses Show
Hi everyone I need some help. Was told by a colleague that you can run queries using SQL select statements to obtain information regarding a TSM server. I am trying to compose a select statement to display filespaces on the server which have not been backed up in the last three days. Howeve

Re: Format of output file using select statements

2003-01-08 Thread Andy Carlson
nt: Tuesday, January 07, 2003 10:36 AM > To: [EMAIL PROTECTED] > Subject: Re: Format of output file using select statements > > > Is there an ODBC driver for Unix and Mysql? > > > Andy Carlson|\ _,,,---,,_ > Se

Re: Format of output file using select statements

2003-01-07 Thread Anthonijsz, Marcel M SITI-ITDSES31
If using perl, please consider using the TSM for PERL module from Jörg Nouvertné at: http://home.wtal.de/the_swordsman/ It returns your data in hashes, i.e. my $arrayref = $tsm->select("* from volumes"); foreach my $element (@$arrayref) { print "$element->{VOLUME_NAME}:\t $element->

Re: Format of output file using select statements

2003-01-07 Thread Bill Boyer
bject: Re: Format of output file using select statements Is there an ODBC driver for Unix and Mysql? Andy Carlson|\ _,,,---,,_ Senior Technical Specialist ZZZzz /,`.-'`'-. ;-;;,_ BJC Health Care

Re: Format of output file using select statements

2003-01-07 Thread Andrew Raibeck
anager" To: [EMAIL PROTECTED] cc: Subject:Re: Format of output file using select statements Is there an ODBC driver for Unix and Mysql? Andy Carlson|\ _,,,---,,_ Senior Technical Specialist

Re: Format of output file using select statements

2003-01-07 Thread Andrew Raibeck
ce. Matt Simpson <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 01/07/2003 06:27 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject:Re: Format of output file using select stateme

Re: Format of output file using select statements

2003-01-07 Thread shekhar Dhotre
up status\" $people \< /tmp/file2 .out" ); unlink $filename; unlink $tmpfilename; Matt Simpson <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 01/07/2003 08:27 AM Please respond to "ADSM: Dist Stor Manager" To: [

Re: Format of output file using select statements

2003-01-07 Thread Andy Carlson
Is there an ODBC driver for Unix and Mysql? Andy Carlson|\ _,,,---,,_ Senior Technical Specialist ZZZzz /,`.-'`'-. ;-;;,_ BJC Health Care|,4- ) )-,_. ,\ ( `'-' St. Louis, Missouri

Re: Format of output file using select statements

2003-01-07 Thread Peter Bjoern
>People here have suggested various ingenious combinations of >tail/awk/grep to strip out the garbage, and they work fairly well. >But that seems a little Rube Goldbergish, and I'm a little worried >that it might break if something in the output changes. I think I >already know the answer (No), bu

Re: Format of output file using select statements

2003-01-07 Thread Matt Simpson
At 23:33 -0600 1/6/03, Roger Deschner wrote: Neither of these formats, which were designed to be human-readable, are particularly easy for re-digestion by a computer program of any kind - especially when a field is split across lines. One of the challenges to machine-readable output from dsmadmc

Re: Format of output file using select statements

2003-01-07 Thread Richard Sims
>When I run this on a terminal, it returns a format like: > > DATE_TIME: 2003-01-01 16:30:00.00 > MSGNO: 402 > SEVERITY: I Select *wants* to produce the results in columnar format, and will be able to if the number of columns and their combined width fits into the window width. You can u

Re: Format of output file using select statements

2003-01-06 Thread Roger Deschner
he command line is your friend. >"Good enough" is the enemy of excellence. > > > > >Andy Carlson <[EMAIL PROTECTED]> >Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> >01/02/2003 15:21 >Please respond to "ADSM: Dist Stor Mana

Re: Format of output file using select statements

2003-01-06 Thread Andrew Raibeck
enemy of excellence. Andy Carlson <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 01/02/2003 15:21 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: Format of output file using

Format of output file using select statements

2003-01-02 Thread Andy Carlson
I figure this has something to do with running in a terminal or not. I run the following command: /usr/local/bin/tsmua -outfile=xx run qact.rep When I run this on a terminal, it returns a format like: DATE_TIME: 2003-01-01 16:30:00.00 MSGNO: 402 SEVERITY: I MESSAGE: ANR0402I Sess