Hi there,

I'm working to script recurrent operations we do on virtuoso (like data 
loading, clearing graph, backup, ...) with a mix of virtuoso/PL stored 
procedures and shell scripts; it works almost fine but I'm stuck because I 
don't know:
-       how to know if a command inside a stored procedure succeed or failed.
-       how to return status result from the stored procedure back to the shell.

Could you point me some documentation / help ?

To make virtuoso execute my procedures, I do this way:
echo "DB.DBA.sp_clear_graph('<http://foobar.net>') | isql-vt -U $myuser 
$mygraph"

Regards


 [cid:image001.gif@01CD0B5B.AE0EFE00] <http://www.orange.com/>

Baptiste Mille Mathias
Consultant Altran pour FT/OF/DMGP/PORTAIL/DOP/DEV/EAQS

tél. 33 4 97 12 62 88
bmillemathias....@orange.com<mailto:bmillemathias....@orange-ftgroup.com>




_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete 
altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages 
that have been modified, changed or falsified.
Thank you.

<<inline: Picture (Device Independent Bitmap) 1.jpg>>

Reply via email to