Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

edit command on sql*plus

Status
Not open for further replies.

Chrissirhc

Programmer
May 20, 2000
926
GB
Hi when I type ed on the sql*plus command prompt I expect to see the last select statement I typed in the editor of my choice (notepad).

Instead I get the error

" SP2-0110: Cannot create save file "afiedt.buf" "

How do I fix this?

Thanks in advance,

Chris
 
In fact sql*plus saves the last command in the file afiedt.buf and then opens this file in your editor. Thus you need to be permited to write to the directory you started sql*plus from. Regards, Dima
 
Thanks,

You can go to options --> environment .

And change the settings for where the buffer is saved. I saved it to a different drive and it works fine.

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top