summaryrefslogtreecommitdiff
path: root/dis/demo/odbc/runodbc
diff options
context:
space:
mode:
Diffstat (limited to 'dis/demo/odbc/runodbc')
-rwxr-xr-xdis/demo/odbc/runodbc17
1 files changed, 17 insertions, 0 deletions
diff --git a/dis/demo/odbc/runodbc b/dis/demo/odbc/runodbc
new file mode 100755
index 00000000..d7e6365d
--- /dev/null
+++ b/dis/demo/odbc/runodbc
@@ -0,0 +1,17 @@
+#!/dis/sh
+
+mount -A {auxi/odbcmnt -a tcp!200.1.1.113} /mnt/odbc
+
+fn splitrun {
+ if {! ~ $#* 0} {
+ (hd tl) = $*
+ echo Registering $hd
+ grid/register -a resource ODBC -a name $hd '{export /mnt/odbc/'^$hd^'}'
+ splitrun $tl
+ }
+}
+
+cd /mnt/odbc
+sources=`{ls}
+splitrun $sources
+