diff options
Diffstat (limited to 'appl/demo/odbc/runodbc.sh')
| -rwxr-xr-x | appl/demo/odbc/runodbc.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/appl/demo/odbc/runodbc.sh b/appl/demo/odbc/runodbc.sh new file mode 100755 index 00000000..d7e6365d --- /dev/null +++ b/appl/demo/odbc/runodbc.sh @@ -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 + |
