Hi guys,
I'm trying to create a script to switch node replication. I created the 
following script:

rem repln $1
upd n $1 repls=en replm=syncse
select * from nodegroup where node_name like upper('%$1%')
if (rc_ok) goto end
def nodegroupm server1 $1
end:

The problem is that a SQL query doesn't seem to be supported in a script; it's 
just not executed. Even when I change the syntax of the query to be incorrect, 
no error is written to the activity log.
Has anyone have another suggestion how to do this? I want the def nodegroupm 
command only to be executed when the node is not already part of the nodegroup, 
just to prevent an error condition.
Thanks for any help in advance!

Kind regards,
Eric van Loon
Air France/KLM Storage & Backup
********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************

Reply via email to