"clear screen" command exits sqlplus

Hi,
I am running a 10gR2 database. when I issue "clear screen" command at the sqlplus prompt, it throws me out of the sqlplus. there are no error messages.
anybody having the resolution ?
thanks.

I got it ... its a bug in 10.2.0.1, the version which I m using
bug 4595395      CLEAR SCREEN causes SQLPLUS command line to dump
this is resolved in 10.2.0.2 patchset. Note: 358749.1
thanks.

Similar Messages

  • Clear screen command in Java

    Hello.
    I am writing an application for school, when executing the application on the command line, I want to clear the screen. (CLS in DOS)
    Would someone tell the format of the command to issue DOS Coomand through Java?
    Thanks

    FJSeminario wrote:
    Hello.
    I am writing an application for school, when executing the application on the command line, I want to clear the screen. (CLS in DOS)
    Would someone tell the format of the command to issue DOS Coomand through Java?
    ThanksIf you only need to clear the screen once before running the Java program you could put the CLS and the java command in a .bat file and execute the batch file at the command line.

  • Clear Screen, Sql plus Error, in release 10.2.0.1.0

    Hi there,
    I'm having problem in using clear screen command in SQLPlus utility of Oracle Release 10.2.0.1.0. When executing clear screen in SQL Plus ( in command prompt) in windows machine, suddenly a dialogue box opens and saying that "SQLPlus encountered an error and sorry for inconvenience "
    Is this the problem with OS or Oracle Client?
    Could anyone please help me in resolving this issue?
    Thanks
    Raja

    So that is the problem with Oracle client only, not with the OS configuration and all.... shall i assume?

  • Clear screen from sql file

    at sqlplus prompt, I can type either HOST CLS or CLEAR SCREEN and both work..
    but when I put either of them in an .sql file and run it from sql with @c:\file.sql
    both commands error with:
    ORA-06550
    PLS-00103 encountered 'CLS' or 'SCREEN'
    OS IS Windows 7 with Oracle 11.1.0.6 client
    my goal is to run a dbms_output line while in a loop
    so the data shows on the screen and refreshes when it is changed
    without clearing the screen, it just shows over and over and scrolls by a list of them very fast

    Merlin128 wrote:
    at sqlplus prompt, I can type either HOST CLS or CLEAR SCREEN and both work..
    but when I put either of them in an .sql file and run it from sql with @c:\file.sql
    both commands error with:
    ORA-06550
    PLS-00103 encountered 'CLS' or 'SCREEN'
    OS IS Windows 7 with Oracle 11.1.0.6 clientThe SQL*Plus CLEAR SCREEN command works for me.
    my goal is to run a dbms_output line while in a loop
    so the data shows on the screen and refreshes when it is changed
    without clearing the screen, it just shows over and over and scrolls by a list of them very fastSorry, I don't think you can do that.
    Dbms_output does not display anything while the PL/SQL code is running. In fact, it doesn't actually display anything, ever. Dbms_output merely puts text to be displayed into a buffer. When control returns to SQL*Plus, then SQL*Plus displays all of the buffered text together. So if your PL/SQL block consists of a loop that takes 10 seconds per iteration, and you go through the loop 6 times, you will wait a full 60 seconds before seeing any output, and then see all 6 lines as quickly as PL/SQL can display them.

  • At selection-screen on exit-command

    hi to all  my querry is as  follows . pls tell what is the usse of
    at selection-screen on exit-command  event where do we  use it . can u pls give some sample coding . points will be rewarded definitely .

    Hi
    We use<b> exit-command </b> in Module pool programs to come out of the Program, without entering data in the madatory fields  on screen.
    We don't use exit commands for selection screens in Reports
    So you are asking this exit command for selection screens
    see the sample code for Module pools programs
    PROCESS AFTER INPUT.
    Forced Exit from the transaction
      MODULE exit AT EXIT-COMMAND.
    *&      Module  exit  INPUT
    Exit from the Transaction
    MODULE exit INPUT.
      CASE okcode.
        WHEN 'EXIT' OR 'CANCEL'.
          CLEAR okcode.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " exit  INPUT
    Reward points for useful Answers
    Regards
    Anji

  • Clear screen in "Run SQL Command Line" causes the utility to dump in Window

    Just for your notice... I have not checked if i can reproduce this on Linux platform or on second node running Windows XP Pro.
    But if I use "Run SQL Command Line" utility and do
    clear screen
    The utility dumps, (not the database though only the utlility)
    Maybe some other people could confirm if this findings is a bug or not and if it is a port specific issue with Windows XP only.
    Kindly Rgds
    /Ulf, Kentor IT Sweden

    Tracking info is in
    Re: SQL*Plus generated Program Error
    -- cj

  • Clear Screen in command interpreter

    Hello, can anyone please tell me how I can clear the command prompt from all outputs?
    for instance, if "Hello" was printed on screen and I would like to input another string afterwards, can I clear Hello and then input as if no output appeared prior to the input statement?
    Thanks,
    Batzi
    Edited by: Batzi on 23/12/2009 01:36 ?

    its giving error
    java.io.IOException: Cannot run program "cls": CreateProcess error=2, The system cannot find the file specified
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
         at java.lang.Runtime.exec(Runtime.java:593)
         at java.lang.Runtime.exec(Runtime.java:431)
         at java.lang.Runtime.exec(Runtime.java:328)
         at com.ClearCmdPrmt.clear(ClearCmdPrmt.java:12)
         at com.ClearCmdPrmt.main(ClearCmdPrmt.java:29)
    Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
         at java.lang.ProcessImpl.start(ProcessImpl.java:30)
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)

  • How to show a Canvas screen before exit the midlet

    If i want to show a canvas screen after user click exit to quit the midlet (after call the notifyDestroy()), any way to do that? thanks.

    Hi,
    you have to catch the exit event in the commandAction method and there you will display a YES/No form:
    create your YES/NO form:
    Form yesNoForm = new Form("Exit?");
    yesNoForm.append("You are about to exit the application!Exit?")
    yesNoForm.addCommand(new Command("Yes",Command.OK,1));
    yesNoForm.addCommand(new Command("Cancel",Command.CANCEL,0));
    yesNoForm.setCommandListener(this);
    !!!Note you can write your own command classes extended from the Command and add those to yesNoForm, that way you will have a better control on the application.
    commandAction(Command c, Displayable d){
    if (c.getCommandType() == Command.EXIT) {
    display.setCurrent(yesNoForm);
    if(c.getCommandType() == Command.OK){
    destroyApp(true);
    notifyDestroyed();
    if(c.getCommandType() == Command.CANCEL){
    display.setCurrent(mainForm);
    This should work.

  • Urxvt patch: VTE like clear screen behavior

    I've switched to urxvt last week. I come from the VTE world (gnome-terminal, xfce-terminal and such, the latter in my case). VTE has a nice feature to which I've accustomed myself. This is the way how it handles the clear screen function (ctrl-L).
    In VTE when you press ctrl-L, the screen cursor position gets to top row and the lines get scrolled just before the visible portion of the window. This means that the scrollback remains intact so you can scroll back and see it later. If you press ctrl-L again when you are at top you get a bunch of empty lines - you can use this to mark the scrollback with empty portions when you are scrolling back large amounts of texts.  This is handy for example when you want to quickly glance at an output from a command but you want to differentiate from different outputs - I press ctr-L several times before I execute the command and then I can just quickly scroll back - I immediately spot where the command began because it has a large black spot before it.
    The way urxvt works in this case that it just positions the cursor to the top row and then just erases everything below that point. This means you lose valuable lines from the scrollback. Example: type "seq 1000", press ctr-L. Now you won't see the last lines of the command's output!
    Now it is possible that I have a misconfigured urxvt and I'd be interested in the config option which I have misconfigured.
    Here's a patch for urxvt which adds proper clear screen function and also adds the VTE-like functionality:
    *** src/command.C 2011-10-29 18:06:07.000000000 +0200
    --- src/command.C.patched 2011-10-29 18:05:28.000000000 +0200
    *************** rxvt_term::process_csi_seq ()
    *** 2932,2937 ****
    --- 2932,2948 ----
    case CSI_CUP: /* 8.3.21: (1,1) CURSOR POSITION */
    case CSI_HVP: /* 8.3.64: (1,1) CHARACTER AND LINE POSITION */
    + if (nargs == 1 && current_screen == 0)
    + {
    + // This is usually followed with clear screen so add some extra
    + // lines to avoid deleting the lines already on screen. If we are
    + // already at the top, add an extra screen height of lines.
    + int extra_lines = nrow-1;
    + if (screen.cur.row == 0)
    + extra_lines += nrow;
    + for (int i = 0; i < extra_lines; ++i)
    + scr_add_lines (L"\r\n", 2);
    + }
    scr_gotorc (arg[0] - 1, nargs < 2 ? 0 : (arg[1] - 1), 0);
    break;
    Last edited by rlblaster (2011-10-29 19:07:32)

    Now I see what's happening! Your prompt uses '\e[H' which is used as move to home. I assumed that '\e[H' is usually followed with clear screen. This means if you use it to just move the cursor to home it won't work. I don't really see how could I fix this nicely but here's a workaround for your prompt: use '\e[1;1H'. In other words:
    PS1=$'%{\e[s\e[1;1H\e[30;42;1m%}[%~][%M] %{\e[K\e[256C\e[8D\e[30;42;1m%} [%D{%H:%M}]%(?,%{\e[32;32m%}\u2588,%{\e[31;41;1m\u2588)%}%{\e[u\e[1A%}\n%{\e[0;32m%}> %{\e[0m%}'
    By the way the feature of adding extra blank lines if your cursor is already at top won't work in your prompt because your cursor is always at least on row 1. You could change the patch from
    if (screen.cur.row == 0)
    to
    if (screen.cur.row <= 1)
    to have this feature.

  • What is function to clear screen ??

    hi,
    What i s function to clear screen .. for example in C-languse we use clrscr();
    like that what is function in java to clear screen.. that is in command prompt window clear

    I dont thik u can do this...
    since u are writing to a stream. so what ever is written is written...
    but if u have any ur own component developed u can do this.
    regards,
    Karthik

  • Do we have a command to clear sql command prompt

    do we have a command to clear sql command prompt ??

    I faced one issue, that would like to share with you guys.
    Oracle: 10gR2
    OS: Win XP / 2003 / 2000
    C:\Documents and Settings\mamohiuddin.MYPC>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 22 13:18:37 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> cl scr;
    C:\Documents and Settings\mamohiuddin.MYPC>
    Now a pop dialog box came and informed the following..
    Oracle SQL*PLUS has encountered a problem and needs to close. We are Sorry for the incovenience.
    Did you also face this issue ? If fixed how ? Is it Oracle problem or Windows Problem ?

  • I upgraded my iMac to 10.9.4.  Now the feature where you can go to 4 diff. screens (Command+Control) doesn't work.  How do I fix this?

    I upgraded my iMac to 10.9.4.  Now the feature where you can go to 4 diff. screens (Command+Control) doesn't work. 
    How do I fix this?

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premier

    My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premiere Pro CC.  I am on a PC withe Windows 8.1 and apps are up to date.  Thanks much for any help!!

    Hi Bryan,
    My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premiere Pro CC.  I am on a PC withe Windows 8.1 and apps are up to date.  Thanks much for any help!!
    Sounds like an activation issue. Quite Premiere Pro. Sign out of Creative Cloud. Restart Premiere Pro. Sign back in: http://bit.ly/CC-sign-out
    Hope that works for you.
    Kevin

  • I have Firefox 19 and the screens are narrow. How can I get full width screens, like I get in IE? Full Screen command only makes my screens taller, not wider.

    I just got a new Dell Optiplex computer with Windows 7. I installed Firefox 19 on it. The web pages come up narrow, with borders on each side. So the content of the screen is smaller than what I've gotten in the past with Firefox 3.6 on my previous computer. I did the Full Screen command, and that only made the screen taller rather than giving me a full screen (such as I get with the same web pages in Internet Explorer). I've also tried enlarging the text, but that throws off the format of the web page so some parts of it overlap.
    What can I do to get a full screen, including full width?
    There is a box below this Details box called "Troubleshooting Information" which says I should click Allow and then click Install. Since I don't know what would be installed on my computer, I did not do it.

    The Troubleshooting Information extension adds some useful information to your post, but in this case, I don't think it's really needed.
    Zoom is your best bet. To make it work for you, I have two suggestions.
    (1) Switch from "text only" zoom to "full page" zoom. This is proportional like in IE.
    View menu > Zoom > ''uncheck'' Zoom Text Only
    If you are using the compact menus with the orange Firefox button, tap the Alt key to display the full classic menu bar.
    (2) Install an extension that can default your view to a higher zoom level automatically to save time when visiting new sites. Here are two candidates:
    * [https://addons.mozilla.org/en-US/firefox/addon/default-fullzoom-level/ Default FullZoom Level]
    * [https://addons.mozilla.org/en-US/firefox/addon/nosquint/ NoSquint]
    With that combination, can you minimize your eyestrain? :-)

  • Is there a lock screen command in OS X similar to Screen Lock in Windows?

    I want to lock screen for a brief period of time, and didnt want to log out or shut down the system.
    Is there a lock screen command for this, so that I can lock it and unlock whenever I need?
    Or I am wondering if I can log out without closing the application so that when I log in back, I get to the application and continue working from whereever I left.
    I dont want to close the application and be able to lock or logout the user. Please suggest me some ideas.
    Thanks,
    Gopinath

    Open the Security pane of System Preferences and check the box to require the password to wake from sleep or screen saver. In the Desktop & Screen Saver pane, set up the screen saver to activate when the mouse is at a specific corner. The screen saver can be unlocked with the password of the person who is logged in to the machine or with any administrator password.
    (15568)

Maybe you are looking for