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?

Similar Messages

  • SQL Plus Error - "Can't open file" when spooling

    Hi:
    I have a user who is either able or unable to spool when running a script depending on what Oracle user she logs in as. She's always logging in as the same Linux user but connecting to Oracle as different Oracle users via SQL Plus. When spool files are created they are created with that user's account and group settings, so the OS account seems to be fine.
    I'm having a problem with the idea that there is an Oracle role or something that controls this. Spool isn't UTL_FILE. Is this a SQL Plus application setting or something?
    We're using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    Thanks

    Well, I'm working off an email so maybe they cut and pasted and maybe they didn't. They say the error is
    spool error: "Cannot create spool file"
    I'll have to recreate their situation and see what it really says. But either way, my confusion is how this same OS user can log in as a different Oracle user and spool away. Perhaps the comment above is correct. It worked the first time and they tried to run under the other account without removing the current file. I tend not to think so because these users have been running similar reports for years and they usually have to remove the old output file before re-running.

  • Re: SQL Plus Error ORA - 12560 TNS:Protocol Adapter error

    I am using Oracle 9i
    On Windows XP Home
    I am trying to learn and become familiar with Oracle 9i
    I get the above error whenever I try to log on to SQL Plus
    I use the following Id scott
    and the following Password Tiger
    and the above error comes up
    now I can't log on to Oracle9i SQL
    I tried going into Start, Control Panel, Administrative Tools, Services
    I see the Oracle SID which says Automatic, Started
    But I am unable to still logon
    Anyone has a solution
    Assistance would be appreciated
    The solution can be printed here as well as please forward a copy to [email protected]
    Thanks

    Here is the following output of your instructions
    sc query oracleserviceoracle
    SERVICE_NAME: ORACLESERVICEORACLE
    TYPE: 10 WIN32_OWN_PROCESS
    STATE: 4 RUNNING
    (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
    WIN32_EXIT_CODE: 0 (0X0)
    SERVICE_EXIT_CODE: 0 (0X0)
    CHECKPOINT: 0X0
    WAIT_HINT: 0X0
    set | find "ORACLE"
    comes back empty
    set | find "oracle"
    JSERV=J:\oracle\ora92/Apache/Jserv/conf;C:\oracle\ora92/Apache/Jserv/conf
    Path=J:\oracle\ora92\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MSSQL7\BINN;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier";C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Executive Software\DiskeeperLite\;C:\Program Files\CA\PPRT\bin;C:\Program Files\SSH Communications Security\SSH Secure Shell;;J:\Acucobol\BIN
    WV_GATEWAY_CFG=J:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app
    ebrian
    Yes I realize that the JSERV is pointing in the incorrect are
    the J drive is a flashdrive
    In the Registry I have just deleted the 2nd Orahome directory which was on the J drive
    so all I have now left is the Orahome directory on the C drive
    how do I make corrections so that from now on the JSERV, Path, and WV_Gateway._CFG point to the C drive

  • Oracle 8i Lite Sql*Plus error

    When attempting to connect to Sql*Plus I get
    the error ORA-21526 in an infinite loop.
    Any ideas how to get around it?
    I am running under Windows 98.
    null

    debbie (guest) wrote:
    : When attempting to connect to Sql*Plus I get
    : the error ORA-21526 in an infinite loop.
    : Any ideas how to get around it?
    : I am running under Windows 98.
    Check the NLS_DATE_FORMAT to make sure it is set up correctly.
    null

  • Sql*plus error while executing

    Hi ,
    Note : "I am in unix terminal in sql*plus prompt running this below query"
    SQL> declare
    v_len number(9);
    v_sublen number(9);
    v_resval number(9);
    v_cnt number(9):=1;
    v_parm varchar2(600):='&peo_no';
    begin
    select length(v_parm) into v_len from dual;
    for i in 1..v_len loop
    select substr(v_parm||',',v_cnt, instr(v_parm||',',','))
    into v_resval
    from dual;
    select length(v_resval) into v_sublen from dual;
    insert into t(col)values(v_resval);
    v_cnt:=v_cnt + (v_sublen+2);
    end loop;
    end;
    / 2 3 4 5 6 7 8 9 10 11 12 13 14 14 15 16
    17 18
    Enter value for peo_no: 123,456,789,852,147,369
    old 6: v_parm varchar2(600):='&peo_no';
    new 6: v_parm varchar2(600):='123,456,789,852,147,369';
    declare
    ERROR at line 1:
    ORA-01722: invalid number
    ORA-06512: at line 10
    It's getting the error above pls anyone suggestions
    Thanks,

    You don't have to use a for loop to do the job, which is a slow process. try this instead.
    PRAZY@11gR2> select * from t;
    no rows selected
    Elapsed: 00:00:00.00
    PRAZY@11gR2>
    declare
         v_parm varchar2(600):='&peo_no';
    begin
         insert into t select case when level = 1 then
              substr(v_parm,1,instr(v_parm,',')-1)
         when level = length(v_parm) - length(replace(v_parm,',')) + 1 then
              substr(v_parm,instr(v_parm,',',-1)+1,length(v_parm) - length(substr(v_parm,1,instr(v_parm,',',-1))))
         else
              substr(v_parm,length(substr(v_parm,1,instr(v_parm,',',1,level-1)))+1,
              length(substr(v_parm,1,instr(v_parm,',',1,level))) - length(substr(v_parm,1,instr(v_parm,',',1,level-1))) - 1)
         end
         from dual
         connect by level <= length(v_parm) - length(replace(v_parm,',')) + 1;
         commit;
    end;
    Enter value for peo_no: 85232,456256,324562,89654
    old   2: v_parm varchar2(600):='&peo_no';
    new   2: v_parm varchar2(600):='85232,456256,324562,89654';
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.04
    PRAZY@11gR2> select * from t;
           COL
         85232
        456256
        324562
         89654
    Elapsed: 00:00:00.00
    PRAZY@11gR2>Btw, I had never seen a Oracle 7 DB. I thought it was RIP. ;)
    Note: Posted this on your other thread.. this is just in case... :)
    Regards,
    Prazy

  • SQL Plus error

    I'm working with Ubuntu 10.04 Server.
    I just installed Oracle XE 11g (11.2.0 specifically)
    All I did was download the .rpm file and converted it to a deb (using alien) and then ran the deb (using dpkg). Everything seems to be installed fine however when I try to run sqlplus I get the following message:
    Error 6 initializing SQL*Plus
    SP2-0667: Message file sp1(lang).msb file not found
    SP2-0750: You may need to set your ORACLE_HOME to your Oracle software directory
    However the oracle_env.sh states that ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe which is the correct path (at least I think it is). So does anyone know what the issue is?
    Thanks

    I've checked all of the log files in the log directory and there doesn't seem to have been any errors in them.That's good. So we can assume most things worked as intended.
    Path looks wrong... But no idea how it got to be wrong or how to fix it.It does. Did you execute the following from Step 9)
    echo "" >>./.profile
    echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >>./.profileThis should set up your environment as needed. In the guide, this had been done for the "oracle" user only. If you use a different account, you'll have to either source or include that environment script as well.
    Please also check whether it has been created correctly by running
    cat /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.shThe output should read
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
    export ORACLE_SID=XE
    export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
    export PATH=$ORACLE_HOME/bin:$PATHThough possibly not mandatory, you could add
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/libto that script. This will set the library path to include the oracle libraries, such as client libraries.
    LANG-settings are okay, by the way.
    -Udo
    Edited by: Udo on 26.03.2012 16:02

  • Oracle SQL*PLUS Error

    Dear,
    When I run a complex query or a query with huge numnber of records, My sql*plus session is aborting by giving a message. Is this an Oracle session problem or an OS problem? Please suggest,
    With warm regards
    AIJAZ

    Hola Marcela. Mucho gusto: Joel Pérez
    mi e-mail directo es: [email protected] y mi telefono es : 584129955506 . Me estoy conectando a Internet solo en las mañanas.
    Como supistes que era de Vzla. Vistes mi perfil ?
    Joel Pérez
    http://otn.oracle.com/experts

  • Error 57 initializing SQL*Plus

    i am not able to start sql plus. It gives me the below mentioned error message. I did not have any problem when i worked a month back but now when i am going to start again, it gives me this error. In between, the only change i brought into my PC is the installation of Kaspersky Antivirus and doing the full scan?
    Error 57 initializing SQL*Plus
    Error loading message shared library
    thanks

    hick wrote:
    i am not able to start sql plus. It gives me the below mentioned error message. I did not have any problem when i worked a month back but now when i am going to start again, it gives me this error. In between, the only change i brought into my PC is the installation of Kaspersky Antivirus and doing the full scan?
    Error 57 initializing SQL*Plus
    Error loading message shared library
    thanksThis error is raised during the early startup processing for sqlplus and is, by nature, rather generic. Since it is raised during initialization, it's quite possible that not all libraries that might be needed for additional details (such as localized error messages) are loaded.
    As the only thing you mention has changed is installation of Kaspersky, that suggests it is blocking a required library from being loaded. This error can also be raised when there is insufficient memory available (which would also prevent loading of required libraries, etc).
    Here's a simple test you can do to illustrate this (obviously not on a production system, etc!):
    $ cd \Oracle\11.2\database\BIN
    $ dir /s /b oraclient11.dll
    C:\Oracle\11.2\database\BIN\oraclient11.dll
    $ rem temporarily rename the Oracle RDBMS Client Library for testing
    $ ren oraclient11.dll oraclient11.dll.save
    $ rem this will raise error 57 since a required library could not be loaded during initialization
    $ sqlplus.exe /nolog
    Error 57 initializing SQL*Plus
    Error loading message shared library
    $ rem be sure to change back!
    $ ren oraclient11.dll.save oraclient11.dllRegards,
    Mark

  • Im getting this error after trying to laounch SQL*Plus

    Hallo, guys!
    Help me on this one. I'm new to Oracle on Windows 2000 Professional
    Im getting this error after trying to laounch SQL*Plus
    Error 6 Initializing SQL*Plus
    Message file spl<lang>.msb not found
    SP2-0750:You may need to set ORACLE_HOME to your Oracle Software directory
    Urgent please respond
    Thanks
    sridhar

    Verify the contents of the following subkey in your Windows2000 registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_YOUR_HOME_NAME
    Your Windows 2000 registry must contain several minimum parameters, defined as registry entries inside the above subkey (See http://download-east.oracle.com/docs/cd/B19306_01/win.102/b14304/registry.htm#i1006544). One of them is ORACLE_HOME, which could have been accidentally removed or changed. ORACLE_HOME must contain the home OS path to the SQL*Plus executable in your machine (For example, C:\Oracle\OraDB10g). I tried changing the name of the ORACLE_HOME registry entry in my machine and received the same exact messages you did when launching SQL*Plus.
    In your OS, verify also Control Panel > System Properties > Advanced > Environment Variables > System Variables > Path, and make sure the above ORACLE_HOME's path is included in the Path variable (preferably in the starting position)
    Regards,
    Luis Morales
    ConsiteNicaragua.com

  • Problem entering password sql plus in wnidows vista

    hello,
    after i successful installation in windows vista, i try run SQL Plus
    when i try running SQL PLUS, i have to entered my username and password.
    Entering my username is no problem. but when i try entering password, i cannot entering input password because no matter what i do, my password does not appear on the screen SQL Plus
    Is something wrong about installation?
    Please help me.

    Well, that is why it is called password. You do not want anyone to see it while you are typing, right? Just type in the password (you should see * for each typed password character) and hit enter. And if you are running non-gui version of SQL*Plus (in command window) you will not see any characters (even *) while typing password.
    SY.
    Edited by: Solomon Yakobson on Jun 5, 2010 7:36 AM

  • SQL*Plus Not responding when calling edit command

    When I write a Query in SQL Plus 9.2.0.1.0, Installed in Windows XP SP2, and running EDIT command, notepad opens and then SQL Plus and Notepad both hangs. By killing notepad.exe process I can continue working in SQL Plus.
    I tried changing the default editor to ultra edit, wordpad, etc. But It seems to be a SQL Plus error, with all editors I set up, Editor Hangs.
    The same things happende me installing the Oracle 9i client in another machine.
    Need help with this, thanks!!

    Sounds strange - and does not sound like a SQL*Plus problem. SQL*Plus uses the CreateProcess() Win32 API call to create the editor process. Then it waits for this process' process handle to cease to exist before it continues. SQL*Plus does not "hang" - it simply waits for the spawned process to terminate before it continues.
    It is not possible for one process to "hang" another process it created via the CreateProcess() call. It will need to interact with that spawned process in other ways to make it hang. Caveat: unless the spawned process does not "like" the parameters passed to it via the CreateProcess() call...
    The only parameter passed is the filename (usually afiedt.buf) by SQL*Plus - and that should not cause the editor to hang.
    Unless there is a specific Oracle bug you're running in, this problem sounds more like a Windows issue. After using the ED command in SQL*Plus, can you manually view and edit the afiedt.buf file it created?

  • Cleaning screen at SQL*PLUS Worksheet

    Is there any simple command, macro or magical trick to clean the lower screen? (the one were you can not write and displays the data from your selects, prompts, ORA-errors, etc...)
    thanks

    Ok, I thought that clear button would clear only the upper screen, but if I click and focus with the mouse at the lower screen it will clean the lower screen.
    Thanks
    PD: Yes I was talking about SQL*PLUS Worksheet, not SQLPLUS

  • 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.

  • 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

  • Error when connecting to SQL*PLUS via ODBC to Excel

    OS: Windows 2000 Professional
    Oracle DB: 9i release 2
    SQL*Plus: Release 9.2.0.1.0
    MS Excel: 2000
    ===================
    When I try to connect to SQL*PLUS via ODBC to Excel with "connect scott/tiger@odbc:libro" I get the following error:
    ORA-03121: no interface driver connected - function not performed

    SQL Server objects are commonly case sensitive, so please surround the column and table names by double quotes:
    SELECT "Type_PK_ID" FROM "dbo"."boundaries"@sqlserver
    SIDE NOTE: Oracle is by default not case sensitive and all object names are stored in upper case. To get case sensitive objects they need to be surrounded by double quotes. In HSODBC case sensitive table names were commonly found even when not surrounded by double quotes as the gateway used internal SQL Server methods to find the correct table nameing - this method does not work for column names. So to be able to query a case sensitive column it needs to be surrounded by double quotes and the table name must be written as stored in the source database.

Maybe you are looking for

  • Read-only filesystem required management...

    I have had a netbook with Arch Linux on it, and have used it at school and home without problems. This morning at home, I rebooted when I meant to poweroff. So I used the button to poweroff while it was booting back up. At school, when I turned it on

  • JspException

    I get the following error when I run a jsp from my Reports Builder OC4J instance. Any clues? Thanks Fri Apr 11 13:23:49 PDT 2003 javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source. REP-0069: Internal error JDBCPDS-62000:

  • How can call child frame in parent frame

    Hi all, I am using these frames in apex3.2 version. How can i call middleFrame. I used below link in topFrame,its working a href="javascript:parent.topFrame.url();"Print but If use a href="javascript:parent.topFrame.middleFrame.url();"Print it not wo

  • How to replace & with escape code?

    Hi, I want to replace all occurence of & in a string with escape code '%26' . Is the following lines of the code the right way to do this? Please help. Thanks. String test; test.replace('&', '%26');

  • Where is the documentation about PostgreSQL?

    Could not get the docs as mentioned on the LION Server Manual: "PostgreSQL, view its documentation at http://www.example.com/postgresql/ (replace www.example.com with your server's URL)." It shows an error message saying the page could not be found.