-
ACCEPT in sql script called by unix script
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?!?
-
-
Resolved
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|