# Ctrl+z doesn't work after I save the file.

**URL:** <https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [April 2, 2010, 4:03am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393 "2010-04-02T04:03:06Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![exhortae\_984](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@exhortae\_984](https://forums.toadworld.com/u/exhortae_984)\
**Post date:** [April 2, 2010, 4:03am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/1 "2010-04-02T04:03:06Z")

</div>

Hi,

I recently started a new job and they use toad, I would have asked my collegues but the only other one working with toad is on holidays.

My problem is after I save a file I cannot undo changes made prior to saving, ctrl+z desn’t work.

BTW I’m using version 9.7 for oracle

Message was edited by: exhortae\_984

---

<div class="post-metadata">

**Author:** ![wimdelange\_062](https://avatars.discourse-cdn.com/v4/letter/w/9fc348/32.png) [@wimdelange\_062](https://forums.toadworld.com/u/wimdelange_062)\
**Post date:** [April 2, 2010, 4:38am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/2 "2010-04-02T04:38:07Z")

</div>

This is normal behaviour for most editors.....

Groetjes,  
Wim

On Fri, Apr 2, 2010 at 11:03, exhortae\_984 wrote:

> Message from: exhortae\_984
> 
> Hi,
> 
> I recently started a new job and they use toad, I would have asked my  
> collegues but the only other one working with toad is on holidays.
> 
> My problem is after I save a file I cannot undo changes made prior to  
> saving, ctrl+z desn't work.
> 
> * * *
> 
> Historical Messages
> 
> Author: exhortae\_984  
> Date: Fri Apr 02 02:03:06 PDT 2010  
> Hi,
> 
> I recently started a new job and they use toad, I would have asked my  
> collegues but the only other one working with toad is on holidays.
> 
> My problem is after I save a file I cannot undo changes made prior to  
> saving, ctrl+z desn't work.  
> \_\_
> 
> * * *

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [April 2, 2010, 7:43am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/3 "2010-04-02T07:43:40Z")

</div>

I have created a job using DBMS\_SCHEDULER and it is not showing up in the Jobs  
under the schema browser. I am using Toad for Oracle 10.1.1.8 against Oracle  
11g. Does that Jobs item only show jobs created with DBMS\_JOBS?

Thanks,  
Eva

---

<div class="post-metadata">

**Author:** ![HillbillyToad](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/hillbillytoad/32/190_2.png) [@HillbillyToad](https://forums.toadworld.com/u/HillbillyToad)\
**Post date:** [April 2, 2010, 8:03am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/4 "2010-04-02T08:03:24Z")

</div>

JOBS tab is just for DBMS\_JOBS

There are several sets of tabs for the DBMS\_SCHEDULER interface in 10/11g. However, it is available to the users who have the optional DB Admin module.

* * *

---

<div class="post-metadata">

**Author:** ![eklinger](https://avatars.discourse-cdn.com/v4/letter/e/bbe5ce/32.png) [@eklinger](https://forums.toadworld.com/u/eklinger)\
**Post date:** [April 2, 2010, 8:04am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/5 "2010-04-02T08:04:50Z")

</div>

Do you have the optional DB Admin module? Look in your Help–\>About. Under the  
Version it will tell you.

You will need that license to view the “Schedule Jobs” tab which is different  
then the “Jobs” tab which is just dbms\_jobs

Ed

[TeamT]

---

<div class="post-metadata">

**Author:** ![MGainty](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@MGainty](https://forums.toadworld.com/u/MGainty)\
**Post date:** [April 2, 2010, 8:12am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/6 "2010-04-02T08:12:06Z")

</div>

did you execute?  
SELECT job\_name FROM dba\_scheduler\_jobs

(norm and roger pls correct if syntax is incorrect for 11)  
Martin Gainty

* * *

Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger  
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung  
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem  
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.  
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung  
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n’êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l’expéditeur. N’importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l’information seulement et n’aura pas n’importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.

---

<div class="post-metadata">

**Author:** ![exhortae\_984](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@exhortae\_984](https://forums.toadworld.com/u/exhortae_984)\
**Post date:** [April 2, 2010, 10:33am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/7 "2010-04-02T10:33:33Z")

</div>

> SET SERVEROUTPUT ON

> BEGIN

> END;

> /

> _ **DBMS\_OUTPUT.PUT\_LINE** _('Hello World');

now I open the two files in toad. select the main.sql tab and hit F5. the output is Hello World.

Now say I edit the file proc.sql and I don't save hit.

I hit F5 on the main.sql and the output is still hello world because I didn't save it as I want to be able to undo.

Imagine now I want to do the same test, but proc.sql is a file with 1000 lines and I want to cut 500 lines. to be able to launch main.sql I need to save it =\> I lose the 500 lines I cut and cannot undo the thing.

This doesn't seem like a normal behavior 😃

thanks

Hi,

I come from a java background so sorry if my question seems stupid but.

Say I create a file named main.sql with this content:

@proc.sql

and a file named proc.sql with the following content

---

<div class="post-metadata">

**Author:** ![wimdelange\_062](https://avatars.discourse-cdn.com/v4/letter/w/9fc348/32.png) [@wimdelange\_062](https://forums.toadworld.com/u/wimdelange_062)\
**Post date:** [April 2, 2010, 12:06pm UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/8 "2010-04-02T12:06:52Z")

</div>

This is still normal behaviour for the most editors (which one are you using  
that a save command does not flush the undo buffer?). And the @ feature uses  
the files on disk not on memory. If you want to make a copy of the 1000  
lines then make a copy of the file. What is wrong with a file called  
proc\_full\_with\_1000\_lines.sql. Or start using a version control system. but  
that is risky business. Even with version control you can make mistakes that  
can lead to disasters like losing 500 lines of code or all 1000 of them.

Groetjes,  
Wim

On Fri, Apr 2, 2010 at 17:33, exhortae\_984 wrote:

> Message from: exhortae\_984
> 
> Hi,
> 
> I come from a java background so sorry if my question seems stupid but.
> 
> Say I create a file named main.sql with this content:
> 
> @proc.sql
> 
> and a file named proc.sql with the following content
> 
> SET SERVEROUTPUT ON
> 
> BEGIN  
> _DBMS\_OUTPUT.PUT\_LINE_('Hello World');
> 
> END;
> 
> /
> 
> now I open the two files in toad. select the main.sql tab and hit F5. the  
> output is Hello World.
> 
> Now say I edit the file proc.sql and I don't save hit.
> 
> I hit F5 on the main.sql and the output is still hello world because I  
> didn't save it as I want to be able to undo.
> 
> Imagine now I want to do the same test, but proc.sql is a file with 1000  
> lines and I want to cut 500 lines. to be able to launch main.sql I need to  
> save it =\> I lose the 500 lines I cut and cannot undo the thing.
> 
> This doesn't seem like a normal behavior 😃
> 
> thanks
> 
> * * *
> 
> Historical Messages
> 
> Author: exhortae\_984  
> Date: Fri Apr 02 08:33:33 PDT 2010  
> Hi,
> 
> I come from a java background so sorry if my question seems stupid but.
> 
> Say I create a file named main.sql with this content:
> 
> @proc.sql
> 
> and a file named proc.sql with the following content
> 
> SET SERVEROUTPUT ON
> 
> BEGIN  
> _DBMS\_OUTPUT.PUT\_LINE_('Hello World');
> 
> END;
> 
> /
> 
> now I open the two files in toad. select the main.sql tab and hit F5. the  
> output is Hello World.
> 
> Now say I edit the file proc.sql and I don't save hit.
> 
> I hit F5 on the main.sql and the output is still hello world because I  
> didn't save it as I want to be able to undo.
> 
> Imagine now I want to do the same test, but proc.sql is a file with 1000  
> lines and I want to cut 500 lines. to be able to launch main.sql I need to  
> save it =\> I lose the 500 lines I cut and cannot undo the thing.
> 
> This doesn't seem like a normal behavior 😃
> 
> thanks
> 
> \_\_
> 
> Author: Martin Gainty  
> Date: Fri Apr 02 06:12:06 PDT 2010  
> did you execute? SELECT job\_name FROM dba\_scheduler\_jobs (norm and roger  
> pls correct if syntax is incorrect for 11) Martin Gainty  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Verzicht und  
> Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht  
> ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so  
> bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder  
> Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem  
> Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.  
> Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine  
> Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut  
> être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons  
> avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle  
> diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à  
> l'information seulement et n'aura pas n'importe quel effet légalement  
> obligatoire. Étant donné que les email peuvent facilement être sujets à la  
> manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu  
> fourni.  
> \_\_
> 
> Author: Ed Klinger  
> Date: Fri Apr 02 06:04:50 PDT 2010  
> Do you have the optional DB Admin module? Look in your Help--\>About. Under  
> the Version it will tell you. You will need that license to view the  
> "Schedule Jobs" tab which is different then the "Jobs" tab which is just  
> dbms\_jobs Ed [TeamT]  
> \_\_
> 
> Author: Jeff Smith  
> Date: Fri Apr 02 06:03:24 PDT 2010  
> JOBS tab is just for DBMS\_JOBS There are several sets of tabs for the  
> DBMS\_SCHEDULER interface in 10/11g. However, it is available to the users  
> who have the optional DB Admin module.
> 
> * * *
> 
> \_\_
> 
> Author: Eva  
> Date: Fri Apr 02 05:43:40 PDT 2010  
> I have created a job using DBMS\_SCHEDULER and it is not showing up in the  
> Jobs under the schema browser. I am using Toad for Oracle 10.1.1.8 against  
> Oracle 11g. Does that Jobs item only show jobs created with DBMS\_JOBS?  
> Thanks, Eva  
> \_\_
> 
> Author: Wim de lange  
> Date: Fri Apr 02 02:38:07 PDT 2010  
> This is normal behaviour for most editors..... Groetjes, Wim On Fri, Apr 2,  
> 2010 at 11:03, exhortae\_984

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [April 2, 2010, 1:58pm UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/9 "2010-04-02T13:58:20Z")

</div>

In MS Word, a save command does not flush the undo buffer. I have used this  
feature on multiple occasions.

Nate Schroeder

IT Commercial Technical Services - Data Management Team

Monsanto Company

800 N. Lindbergh Blvd. G3WI - Saint Louis, MO - 63167

314-694-2592

---

<div class="post-metadata">

**Author:** ![NormTeamT](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/normteamt/32/53_2.png) [@NormTeamT](https://forums.toadworld.com/u/NormTeamT)\
**Post date:** [April 2, 2010, 2:00pm UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/10 "2010-04-02T14:00:19Z")

</div>

On 02/04/10 18:06, Wim de Lange wrote:

> This is still normal behaviour for the most editors (which one are you  
> using that a save command does not flush the undo buffer?).

To be fair, I have used an editor (on Windows as well!) that offers me  
the option to "allow undo after save" and to be equally fair, I've only  
ever seen one editor that allowed this.

It was called Programmers File Editor (PFE0 and I still use it daily -  
even though it has not been available for many many years.

Cheers,  
Norm. [TeamT]

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [April 2, 2010, 2:39pm UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/11 "2010-04-02T14:39:34Z")

</div>

I did and it turns out I need access to those tables and the DBAs are working on  
that now. Thanks!

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [April 2, 2010, 2:40pm UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/12 "2010-04-02T14:40:25Z")

</div>

Well that is just not right 🙂 Oh well…

----- Original Message ----

---

<div class="post-metadata">

**Author:** ![exhortae\_984](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@exhortae\_984](https://forums.toadworld.com/u/exhortae_984)\
**Post date:** [April 3, 2010, 1:46am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/13 "2010-04-03T01:46:35Z")

</div>

[quote]This is still normal behaviour for the most editors (which one are you using  
that a save command does not flush the undo buffer?). [/quote]

Word, notepad++, ultraedit, eclipse, intellij idea, pl/sql developper, oxygen xml editor, code blocks…

To be honest I have never been confronted to this kind of behavior in any editor I used, and I don’t understand why the undo before is flushed after a save in toad. Isn’t there a way to get that behavior (an option, a file to edit, anything ???)

Thank you.

---

<div class="post-metadata">

**Author:** ![PetervanRijn](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@PetervanRijn](https://forums.toadworld.com/u/PetervanRijn)\
**Post date:** [April 6, 2010, 12:58am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/14 "2010-04-06T00:58:07Z")

</div>

> (which one are you using that a save command does not flush the undo buffer?).

EditPad Pro doesn't flush the buffer after save as well.  
A very pleasant feature I must say, used it on many occasions.  
Must say, I cannot think of any 'rationale' why you _should_ flush the  
buffer.

Peter

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [April 6, 2010, 6:16am UTC](https://forums.toadworld.com/t/ctrl-z-doesnt-work-after-i-save-the-file/9393/15 "2010-04-06T06:16:14Z")

</div>

Here I am uploading my Collections of Interview Questions.  
List of Post for Oracle Application Technical and Other Interview Questions and Answers.

> **[FAQs](http://erporacleapps.blogspot.com/2010/03/faqs.html)**
>
>                                  Oracle Apps’s Technical FAQ 1) What is ERP? Architecture of apps?           A packaged business software ...

[http://erporacleapps.blogspot.com/2010/03/oracle-apps-question-](http://erporacleapps.blogspot.com/2010/03/oracle-apps-question-) answer-2.html

> **[Oracle Applications 11i Technical FAQ's](http://erporacleapps.blogspot.com/2010/03/oracle-applications-11i-technical-faqs.html)**
>
> What is Concurrent Programming? Concurrent Processing in Oracle Apps simultaneously executes programs running in the Background with ...

  
Please feel free to take a look on these sites for Most IMP Topics in Oracle Apps…  

> **[Happy to Help in Oracle eBussiness Suite](http://erporacleapps.blogspot.com)**
>
> (ERP) Oracle Applications 11i,Release 12(eBussiness Suite)

Please let me know if any body wants more Information about any topic…  
Thanks  
Nilesh

> **[Happy to Help in Oracle eBussiness Suite](http://erporacleapps.blogspot.com/)**
>
> (ERP) Oracle Applications 11i,Release 12(eBussiness Suite)

Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! [http://downloads.yahoo.com/in/internetexplorer/](http://downloads.yahoo.com/in/internetexplorer/)
