Re: When Defining Script ...

2005-01-27 Thread Andrew Raibeck
It looks to me like the quoting is at issue. With a mixture of double and single quotes in the SELECT statement itself, it gets tricky when you have to surround the command with another set of quotes to satisfy the DEFINE SCRIPT syntax. In this situation, use two pairs of double quotes instead of

Re: When Defining Script ...

2005-01-27 Thread Joerg Pohlmann
respond to "ADSM: Dist Stor Manager" To ADSM-L@VM.MARIST.EDU cc Subject When Defining Script ... Hello, Yesterday Guillaume Gilbert posted some very nice select statements. Of course I am always looking out for cool statements. BTW thx for that. As I found it worthy.. I deci

Re: When Defining Script ...

2005-01-27 Thread Thomas Michaud
Use the web interface, much easier for defining/updating scripts with long lines and multiple commands - just cut&paste the text. Tom Michaud IBM Global Services "ADSM: Dist Stor Manager" wrote on 01/27/2005 02:51:48 PM: > Hello, > > Yesterday Guillaume Gilbert posted some very nice select

When Defining Script ...

2005-01-27 Thread Sung Y Lee
Hello, Yesterday Guillaume Gilbert posted some very nice select statements. Of course I am always looking out for cool statements. BTW thx for that. As I found it worthy.. I decided to added it to the TSM server. define script sessioninfo "select cast(session_id as decimal(7,0)) as "Session", c