From 46439007cf417cbd9ac8049bb4122c890097a0fa Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 20:52:35 +0000 Subject: 20060303-partial --- dis/demo/odbc/odbcmnt.dis | Bin 0 -> 8085 bytes dis/demo/odbc/runodbc | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 dis/demo/odbc/odbcmnt.dis create mode 100755 dis/demo/odbc/runodbc (limited to 'dis/demo/odbc') diff --git a/dis/demo/odbc/odbcmnt.dis b/dis/demo/odbc/odbcmnt.dis new file mode 100644 index 00000000..dec2e403 Binary files /dev/null and b/dis/demo/odbc/odbcmnt.dis differ 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 + -- cgit v1.2.3