Y'know, I'd never thought of doing it like that! I tend to get my scripts to query TSM and extract the nodenames and loop through them. Never clicked that I could use select that way!
Matt. -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Mazarache Sent: Wednesday, August 18, 2004 8:26 AM To: [EMAIL PROTECTED] Subject: Re: updating multiple nodes Oh thanks Arnaud! You have an answer for 100 points. On Wed, 2004-08-18 at 10:13, PAC Brion Arnaud wrote: > Adrian, > > I believe the correct syntax for what you're trying to achieve would be > : > select 'update node ' || node_name || 'password' from nodes. > Off course you'll have to send the output of the select in a script or a > macro to achieve your goal ! > Hope this helped ... > Cheers > > Arnaud > > ************************************************************************ > ****** > Panalpina Management Ltd., Basle, Switzerland, CIT Department > Viadukstrasse 42, P.O. Box 4002 Basel/CH > Phone: +41 (61) 226 11 11, FAX: +41 (61) 226 17 01 > Direct: +41 (61) 226 19 78 > e-mail: [EMAIL PROTECTED] > ************************************************************************ > ****** > > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of > Adrian Mazarache > Sent: Wednesday, 18 August, 2004 08:46 > To: [EMAIL PROTECTED] > Subject: updating multiple nodes > > Hello list! > > Can anyone help with some tricky hints about updating multiple nodes? > > something like > > > update node (select node_name from nodes) password > > > Any help is appreciated. ___________________________ Disclaimer Notice __________________________ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore Powergen Retail Limited does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of Powergen Retail Limited. Registered addresses: Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England and Wales No: 3407430 Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432