Normally I do that the other way around ...
shell script calling a pl/sql script ...

Any reason why you gotta do it your way?

- Magnus