I have a unix script that calls a SQL script, the SQL script contains ACCEPTS and PROMPTS, when I run the script from a SQLPLUS prompt everything works ok, when I use the unix script as a wrapper the SQL script runs all the way through without prompting for input and ends up placing nothing in the ACCEPT variables. Help?!?
My script used EOF's, by placing the sqlplus login and script call all on the same line in the unix script i was able to output the ACCEPT and PROMPTS, my only issue then was adding exits to all the sql scripts.
Bookmarks