DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: ACCEPT in sql script called by unix script

  1. #1
    Join Date
    Feb 2008
    Posts
    2

    Exclamation 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?!?

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    post your script

  3. #3
    Join Date
    Feb 2008
    Posts
    2

    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
  •  


Click Here to Expand Forum to Full Width