From: ara.t.howard@... Date: 2006-07-27T03:23:16+09:00 Subject: Re: Driving Oracle sqlplus with open3 On Thu, 27 Jul 2006, Daniel Berger wrote: > Some more digging reveals that I'm actually getting this back from the > stdin.puts(sql) call: > > SP2-0306: Invalid option. > Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] > where ::= [/][@] | / > > Google indicates that this is some kind of shell issue where my environment > variables aren't being picked up. > > I'll post a solution if/when I find one. drive it via session or under sh - that way your environment will be picked up. -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama