Problem using Export in Oracle 8.1.6.

Hi,
I have a problem using export utility in oracle 8i.
I got a message:
EXP-00056: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00000: Export terminated unsuccessfully
I tried running CATPROC.sql and CATEXP.sql but it did not correct the problem.
Please help me.
Thanks

You may want to try using the error lookup tool available here, http://otn.oracle.com/pls/tahiti/tahiti.homepage?remark=tahiti You may be able to find the answer even though the error lookup tools is for 8.1.7 version. Otherwise, you can search the db discussion forums to see if this issue has been discussed already.

Similar Messages

  • Powershell Patching Information: Problems using Export-CSV / looping

    I've made a simple script that obtains patching information from a series of servers.
    The csv file I use to reference my servers is called patchlevels.csv and just contains some basic information.
    ServerName,OS,ServicePack,Patches,,,,,,,
    SERVER1,Server 2003 R2 Enterprise,SP2,,,,,,,,
    SERVER2,Server 2003 R2 Enterprise X64 Edition,SP2,,,,,,,,
    Yup, that's exactly as its formatted ^
    The problem I am having is updating the Patches column with a link to the server-specific htm file (I figure I can always save as xlsx within Excel to get clickable hyperlinks). I have failed multiple times over the last few hours using
    export-csv to try and update the Patches cell(s).
    Here is my script minus any failed export-csv references for clarity's sake:
    $currentPath = "$pwd\"
    $HostFileName = "patchlevels.csv"
    $CSVLoc = $currentPath + $HostFileName
    Import-Csv "$CSVLoc" | ForEach-Object {
    Write-Host "Processing..."
    Write-Host "------------------------------------------------------------" -ForegroundColor Yellow
    $ServerName=$_.ServerName
    $ServerFile = "$ServerName.htm"
    $OS=$_.OS
    $ServicePack=$_.ServicePack
    $_.Patches = $_.Patches.replace("[","$ServerFile")
    Write-Host "Server Name: $ServerName"
    Write-Host "Operating System: $OS"
    Write-Host "Service Pack: $ServicePack"
    Write-Host "Processing Patch List"
    wmic /node:$ServerName /output:$ServerName.htm qfe list
    Write-Host "Patch List generated for $ServerName"
    Write-Host "------------------------------------------------------------" -ForegroundColor Yellow
    Write-Host "END PROCESSING"
    I can see two things that may be wrong:
    1) Formatting of my CSV file (,,,,,,)
    2) I am not sure about the formatting of $_.Patches = $_.Patches.replace("[","$ServerFile")
    And obviously, I'm missing the export-csv commands to update the patchlevels.csv file with the htm file location (which is what this entire post is about).
    Where would I put export-csv in this code to update my original csv as the script runs?
    Thanks in advance for any help with this.
    Kind Regards,
    Stephen

    I've modified the script so that it now actually works as I want it to (more-or-less).
    I will look into using Get-Hotfix instead of WMIC to check that I am happy with the returned data.
    Modified CSV (I changed the Patch column to a known value to simplify replace operation, I couldn't figure out how to replace " "):
    ServerName,OS,ServicePack,Patches,,,,,,,
    SERVER1,Server 2003 R2 Enterprise,SP2,None,,,,,,,
    SERVER2,Server 2003 R2 Enterprise X64 Edition,SP2,None,,,,,,,
    Working code.
    $currentPath = "$pwd\"
    $HostFileName = "patchlevels.csv"
    $CSVLoc = @()
    $CSVLoc = $currentPath + $HostFileName
    Import-Csv "$CSVLoc" | ForEach-Object {
    Write-Host "Processing..."
    Write-Host "------------------------------------------------------------" -ForegroundColor Yellow
    $ServerName=$_.ServerName
    $ServerFile = "$ServerName.htm"
    $OS=$_.OS
    $ServicePack=$_.ServicePack
    Write-Host "Server Name: $ServerName"
    Write-Host "Operating System: $OS"
    Write-Host "Service Pack: $ServicePack"
    Write-Host "Processing Patch List"
    wmic /node:$ServerName /output:$ServerFile qfe list
    Write-Host "Patch List generated for $ServerName"
    Write-Host "------------------------------------------------------------" -ForegroundColor Yellow
    Write-Host "END DATA GATHERING"
    Write-Host "Updating CSV File"
    $update = Import-Csv "$CSVLoc"
    $update | ForEach-Object {
    $ServerName=$_.ServerName
    $ServerFile = "$ServerName.htm"
    $_.Patches = $_.Patches.replace("None",$currentpath + $ServerFile)
    $update | Export-Csv $CSVLoc -NoTypeInformation -Force
    Write-Host "OPERATION COMPLETE"
    Thanks,
    Stephen

  • Another Problem Using Export.bat

    hi all:
    I use Export.bat to export pages from server.But there is thread come up:
    "/oracle/apps/ap/oie/webui/OIEACTIVEEXPENSEREPSMAINPAGE.Oiebuttonsy "Extends" on component "/oracle/apps/ap//regionMap/OIEACTIVEEXPREPSBUTTONS" component "/oracle/apps/ap/oie/webui/OIEACTIVEEXPENSEREPSMAINPAGE.OieBUTTONS can not be referenced from "/oracle/apps/ap//regionMap/OIEACTIVEEXPREPSBUTTONS because it violates scope restrictions.
    Any Ideas wiil appreciate?
    Edited by: jerry.an on 2009-7-29 下午8:56

    You may want to try using the error lookup tool available here, http://otn.oracle.com/pls/tahiti/tahiti.homepage?remark=tahiti You may be able to find the answer even though the error lookup tools is for 8.1.7 version. Otherwise, you can search the db discussion forums to see if this issue has been discussed already.

  • Unpredictable problem using XMLTYPE in Oracle 11g?

    We recently upgraded from Oracle 10g to Oracle 11g, which caused some of our stored procedures to start acting funny.
    Our database stores BLOBs containing XML data in a table. We then asynchronously convert these BLOBs into XMLTYPE objects, and use them to perform operations in our database. This logic started failing when we moved to 11g.
    Our original code looked like this:
    PROCEDURE submitTpfdd(shipmentDataId IN VARCHAR2) AS
         shipmentData XMLTYPE;
      csid INTEGER;
      shipmentName VARCHAR(128);
      gk_namespaces VARCHAR(1024) := 'xmlns:a="http://my.app/1.0.0.0"';
    BEGIN
      SELECT NLS_CHARSET_ID('UTF8') INTO csid FROM dual;
      SELECT XMLTYPE(tf.shipmentData, csid)
        INTO shipmentData
        FROM SHIPQ.SHIPMENT_FILE tf
        WHERE tf.shipment_id = shipmentDataId;
      shipmentName := shipmentData.extract('/a:Shipment/shipmentName/text()', gk_namespaces).getStringVal();
      ... (more logic)
    END submitTpfdd;When we switched to 11g, this code started frequently failing with an "unsupported character set" error. It happens about half the time, and it's unpredictable. It will sometimes pass and sometimes fail, even if the same BLOB is being read both times. I haven't been able to reproduce the error with any of XMLTYPE's other constructors.
    Has anybody encountered similar behavior with the XMLTYPE in 11g? Should I submit a tracker?

    I have created a SQL program which can be run independently to reproduce the problem.
    DECLARE namespaces constant VARCHAR2(1024) := 'xmlns:a="http://morton.com/"';
    CURSOR cursor0(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor1(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor2(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor3(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor4(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor5(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor6(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor7(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor8(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    CURSOR cursor9(reeves XMLTYPE) IS
    SELECT EXTRACT(VALUE(t), 'text()').getstringval() AS
    bullock
    FROM TABLE(xmlsequence(reeves.EXTRACT('/a:hopper', namespaces))) t;
    xml_clob CLOB := empty_clob;
    xml_blob BLOB := empty_blob;
    xml_varchar VARCHAR2(4000);
    xml_xmltype XMLTYPE;
    warning INTEGER;
    dest_offset INTEGER := 1;
    src_offset INTEGER := 1;
    lang_context INTEGER := 0;
    char_set INTEGER := nls_charset_id('UTF8');
    BEGIN
      dbms_lob.createtemporary(xml_clob, TRUE);
      dbms_lob.createtemporary(xml_blob, TRUE);
      dbms_lob.OPEN(xml_clob, dbms_lob.lob_readwrite);
      dbms_lob.OPEN(xml_blob, dbms_lob.lob_readwrite);
      xml_varchar := '<a:hopper xmlns:a="http://morton.com"/>';
      dbms_lob.writeappend(xml_clob, length(xml_varchar), xml_varchar);
      dbms_lob.converttoblob(xml_blob, xml_clob, dbms_lob.lobmaxsize, dest_offset, src_offset, char_set, lang_context, warning);
      xml_xmltype := XMLTYPE(xml_blob, char_set);
      FOR daniels IN cursor0(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor1(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor2(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor3(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor4(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor5(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor6(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor7(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor8(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
      FOR daniels IN cursor9(xml_xmltype)
      LOOP
        CONTINUE;
      END LOOP;
    END;If someone else could run this program and verify that it acts unpredictably, that would be helpful. I have submitted a metalink tracker but the person who is working the tracker is not able to duplicate the same behavior.

  • 2 different problems using Export Action

    I'm using LR 1.1 and Photoshop CS3 on a MacPro and PowerBook. I created an identical Action in PS to use as an Export Action in LR. It was to export .dng files, open them, run Noise Ninja (many were high ISO shots), and some other things.
    On one Mac, the files would only open in Adobe Raw Converter, so I'd still have to click to go further for each. With the other, I'd get an error message immediately in Photoshop once the file opened, saying "Feather Command not available". (I had done nothing consciously in creating the Actions (later Droplets) to put in such a command.
    My guest teacher, who knows Photoshop (and Lightroom) far better than I, knows of now reason why such a "feather" error would come up.
    Any reason why an Action written to be identical except for where the files are ultimately saved should work so differently on 2 Macs (both with OS 10.4.9)? Or how I can cure these problems? I'd love to be able to write more Actions to Droplets I can use as Export Actions from LR. (And some I've written *do* work, just not the last couple...)

    I've modified the script so that it now actually works as I want it to (more-or-less).
    I will look into using Get-Hotfix instead of WMIC to check that I am happy with the returned data.
    Modified CSV (I changed the Patch column to a known value to simplify replace operation, I couldn't figure out how to replace " "):
    ServerName,OS,ServicePack,Patches,,,,,,,
    SERVER1,Server 2003 R2 Enterprise,SP2,None,,,,,,,
    SERVER2,Server 2003 R2 Enterprise X64 Edition,SP2,None,,,,,,,
    Working code.
    $currentPath = "$pwd\"
    $HostFileName = "patchlevels.csv"
    $CSVLoc = @()
    $CSVLoc = $currentPath + $HostFileName
    Import-Csv "$CSVLoc" | ForEach-Object {
    Write-Host "Processing..."
    Write-Host "------------------------------------------------------------" -ForegroundColor Yellow
    $ServerName=$_.ServerName
    $ServerFile = "$ServerName.htm"
    $OS=$_.OS
    $ServicePack=$_.ServicePack
    Write-Host "Server Name: $ServerName"
    Write-Host "Operating System: $OS"
    Write-Host "Service Pack: $ServicePack"
    Write-Host "Processing Patch List"
    wmic /node:$ServerName /output:$ServerFile qfe list
    Write-Host "Patch List generated for $ServerName"
    Write-Host "------------------------------------------------------------" -ForegroundColor Yellow
    Write-Host "END DATA GATHERING"
    Write-Host "Updating CSV File"
    $update = Import-Csv "$CSVLoc"
    $update | ForEach-Object {
    $ServerName=$_.ServerName
    $ServerFile = "$ServerName.htm"
    $_.Patches = $_.Patches.replace("None",$currentpath + $ServerFile)
    $update | Export-Csv $CSVLoc -NoTypeInformation -Force
    Write-Host "OPERATION COMPLETE"
    Thanks,
    Stephen

  • Problems using and configuring Oracle 10gR2 database full-text search

    I am having problems trying to set up full-text indexing and search with Universal Content Management (UCM). I followed the Oracle Content Server Installation Guide for windows at [http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/integrator/install_cserver_win_10en.pdf].
    What I did was:
    1. Modify E:\oracle\ucm\server\config\config.cfg by adding SearchIndexerEngineName=DATABASE.FULLTEXT to the end of the file.
    2. Restart the content server.
    3. Rebuild the search indexing using Repository Manager.
    However, I keep seeing the following error when I query by entering words in the "Full-Text Search" box.
    Unable to retrieve search results. Unable to retrieve search results. Unable to create result set for query 'SELECT IdcColl1.dID, dDocName, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, VaultFileSize, WebFileSize, URL, dFullTextFormat, dFullTextCharset, DocMeta.*
    FROM IdcColl1, DocMeta
    WHERE IdcColl1.dID=DocMeta.dID AND (((CONTAINS(dDocFullText,'test') > 0 ))) ORDER BY dInDate Desc'. ORA-20000: Oracle Text error:
    DRG-10599: column is not indexed
    Some web searches suggested the following (all of which I have tried but not resolved this problem).
    1. Publish the schema using Configuration Manager (applet) and then rebuild index
    2. Set the dDocFullText as a "zone field". This is not possible, because dDocFullText does not show up under the list of fields under "Database" or "DatabaseFullText" for the Search Engine drop down (when using Zone Fields Configuration).
    3. Reboot the server (did not work either).
    I logged onto the Oracle database and checked the IdcColl1 table. There is indeed, no index for the field, dDocFullText. There is only 1 index for the field, did. The field, dDocFullText, is a BLOB. The question is, if I am supposed to create an index manually for this field, how would I do it? A web search has not been fruitful in answering this question.
    Here are my server settings.
    For UCM:
    Operating System: Windows 2003 Enterprise
    UCM : 10gR3
    Memory: 1 GB
    Web Server: Apache 2.2.11
    For Oracle:
    Operating System: Windows 2003 Enterprise
    Oracle: 10gR2
    Memory: 1 GB
    Thanks.

    I found out what the problem was. The problem was that I had to create the role, stellent_role, as described in the installation manual. After I created this role and assigned the database user to this role, a restart of the Content Server services and collection rebuild of the index fixed the problem.
    However, I did notice one thing. I checked in 3 PDF files, and when I used Repository Manager to do a collection rebuild, I noticed that for Indexer Counters, the count for Full Text was 0 and the count for Meta Only was 3.
    Anyone have any ideas? Is there something else that I missed? From reading the installation manual, it was not clear how database full-text indexing/searching would handle PDF files.

  • Problem using Export PDF

    i have just purchased another copy of Adobe ExportPDF annual online however when i try to convert a PDF to Word, it wont let me sign in ???

    Hi Rob,
    I apologize for the trouble. Have you since been able to sign in? It can take up to 24 hours to provision when a new subscription is purchased.
    Let me know!
    Looking forward to hearing back from you.
    Kind regards, Stacy

  • Problem while using XML with Oracle

    I have a problem using XML with oracle applications
    The process I am following
    1. Making a XML string.
    2. Parsing it to get a document
    3. Free the parser using xmlparser.freeparser
    4. Traversing through nodes .
    5. Freeing the document.
    The whole Process is executed in batch mode.
    The problem occurs after executing the procedure for 5000 records and I get the error
    ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
    heap","library cache")
    Can you please help me out to overcome this problem
    It's urgent
    I have
    Oracle version 8.1.7.0.0
    XML version 1.2
    OS Windows NT
    To resolve the problem I have increase shared memory size and java initialization parameters ,which seems OK
    Looking forward for your answer.

    Hello, Reena
    Your process flow seems to be correct in term of getting/freeing memory.
    Following error
    The problem occurs after executing the procedure for 5000 records and I get the error
    ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
    heap","library cache")may be caused by memory leaks in xdk or memory fragmentation(due to get/free memory cycle)
    To find out if this is an memory leak issue you could try to monitor V$SGASTAT from one session while running your batch process in another session.
    To prevent (or lower its impact) fragmentation issues try to PIN objects, and adjust java_pool_size and shared_pool_reserved_size.
    Anyway, counsult your Oracle DBA.
    Oracle version 8.1.7.0.0I think, you should apply database patch first of all. The latest one (8.1.7.4.x) could be accured from Metalink.

  • Problems using Oracle Directory

    Hi all
    I have the following problem using 9i: I would like to use oracle internet directory to register my db's. I am currently reading the online handbooks and found a section that says to start the directory by using the 'oidmon' and 'oidctl' commands. The problem is that I cannot find these tools anywhere on the server, altough i am pretty sure i intalled anything important. is this a separate product? I thought it was included in 9i 9.2?
    Anyone?
    Cheers,
    Michael

    Hi.
    Hmm, your shared lib path appears to be ok. What version of Solaris are you running? Also what JDK version are you using (I'll assume you are using the one that installed with WLS)?
    You might also try posting this to the weblogic.developer.interest.jdbc newsgroup.
    Thanks,
    Michael
    Alex wrote:
    Hi,
    Please help. While trying to do a dbping, I get the following error:
    [root@hkodsdb01 SMEloan]# java -Djava.library.path=/export/home/greenwood/bea/wlserver6.0/lib/solaris:/export/home/greenwood/bea/wlserver6.0/lib/solaris/oci817_8:/u01/oracle/product/817/lib utils.dbping ORACLE oracle smeloan 192.168.1.252
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError with the message '/export/home/greenwood/bea/wlserver6.0/lib/solaris/oci817_8/libweblogicoci37.so: ld.so.1: /greenwood/bea/jdk131/jre/bin/../bin/sparc/native_threads/java: fatal: libclntsh.so.8.0: open failed: No such file or directory'.
    at weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:167)
    The required file is under the Oracle directory specified. Also, I am having some problems with using the LD_LIBRARY_PATH for my shared library files. The command won't work with LD_LIBRARY_PATH and I must use the -Djava.library.path parameter. Any thoughts and suggestions?
    Thanks so much for your help in advance.
    Alex--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Problem in Exporting to Excel 2007 using CRServer 2008

    Can anyone please help me know the difference between Crystal Reports Server 2008 and Business Objects XI R2? Both the support guides says that it supports Office 2007. I have a problem in exporting the reports to Excel 2007 .I have downloaded the trial version of Crystal Reports Server 2008 but still unable to view my complete reports in Excel 2007 through infoview because few of my report's colums are truncated and it still exports in Excel 2003.I have LiveOfficeXIR2_SP4 and Office 2007 installed. Is it so that i have to switch over to Business Objects XI R2 or any other to solve my problem instead of using Crystal Reports Server 2008 or is it the problem with the version of my Live office.Pls help me regarding this..
    Babita.

    Hi Ani,
       First Thank you for your reply..I have already tried exporting it in Excel 2003 but since the limit is upto 256 columns and that my report's content exceeds this limit, few of the columns are truncated. Thats why i thought that it would be better to export it in Excel 2007. But i could'nt find any way to do it so..Pls help me if there is any other way..
    Babita.

  • Having problem in using RUN_PRODUCT in oracle apps 11.0.3

    I am having problem in using RUN_PRODUCT in oracle apps 11.0.3. Error in oracle apps is
    FRM-40733 PL/SQL built-in RUN_PRODUCT failed
    What could be the possible cause for this error ?

    Hi again;
    I found this please also check this:
    Price List Migration from 11.0.3 to 11.5.10/R12.
    Regard
    Helios

  • Export import - using TOAD FOR ORACLE  and ORACLE DATABASE 10G EXPRESS or s

    Hi all,
    Could you please kindly help me?
    I am using TOAD FOR ORACLE to export a table to flat file A. The tool just supports to distinguish fields by "spaces".
    And the web page of ORACLE DATABASE 10G EXPRESS to import the data from flat file A to another database. To load data to a table from a text file, the web page bases on "comma" to distinguish fields.
    So could you have any suggestion for me? I need to export data via TOAD FOR ORACLE. And then import it to another database by the home page of ORACLE DATABASE 10G EXPRESS or sqlplus.
    Thank you so much for your help!

    Dont use TOAD for exporting your data. Use PL/SQL. Below is the code given in Asktom.com that does what you want.
    create or replace function  dump_csv( p_query     in varchar2,
                                          p_separator in varchar2 default ',',
                                          p_dir       in varchar2 ,
                                          p_filename  in varchar2 )
    return number
    is
        l_output        utl_file.file_type;
        l_theCursor     integer default dbms_sql.open_cursor;
        l_columnValue   varchar2(2000);
        l_status        integer;
        l_colCnt        number default 0;
        l_separator     varchar2(10) default '';
        l_cnt           number default 0;
    begin
        l_output := utl_file.fopen( p_dir, p_filename, 'w' );
        dbms_sql.parse(  l_theCursor,  p_query, dbms_sql.native );
        for i in 1 .. 255 loop
            begin
                dbms_sql.define_column( l_theCursor, i, l_columnValue, 2000 );
                l_colCnt := i;
            exception
                when others then
                    if ( sqlcode = -1007 ) then exit;
                    else
                        raise;
                    end if;
            end;
        end loop;
        dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
        l_status := dbms_sql.execute(l_theCursor);
        loop
            exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
            l_separator := '';
            for i in 1 .. l_colCnt loop
                dbms_sql.column_value( l_theCursor, i, l_columnValue );
                utl_file.put( l_output, l_separator || l_columnValue );
                l_separator := p_separator;
            end loop;
            utl_file.new_line( l_output );
            l_cnt := l_cnt+1;
        end loop;
        dbms_sql.close_cursor(l_theCursor);
        utl_file.fclose( l_output );
        return l_cnt;
    end dump_csv;
    /Here is the link to this thread in asktom.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:95212348059

  • Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?

    I'm new to Oracle. I have installed Oracle SQL Developer 3.0.04 and Java 1.7. When I run Oracle SQL Developer, I will get the window Running this product is supported with minimum Java version of 1.6.0_04 and a maximum version less than 1.7. This product will not be supported....
    Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?
    I have already downloaded Java 1.6 but don't know whether I need to uninstall Java 1.7 first. If don't need to uninstall Java 1.7, how can I set Oracle SQL Developer to run with Java 1.6?
    Thanks for any help.
    Edited by: 881656 on Aug 25, 2011 11:22 AM

    Hi,
    One prior post discussing the use of Java 7 is:
    SQL Developer 3.0  and Java SE 7?
    There is no need to uninstall any Java version (except if you have disk space constraints) and no problem switching between Java versions. This may be controlled in the sqldeveloper.conf file in your ...\sqldeveloper\sqldeveloper\bin directory via the SetJavaHome line. For example:
    #SetJavaHome ../../jdk
    SetJavaHome C:/Program Files/Java/jdk1.6.0_26
    #SetJavaHome C:/Program Files/Java/jdk1.7.0Regards,
    Gary Graham
    SQL Developer Team

  • Problems using Oracle Sql Developer

    Hello.
    I am tryng to use the developer but I have serious problems using it. Lags, freeze, blocked screens, fatal errors without messages that make me close the application.
    It is running on Windows 2000.
    Somebody have this problems too?
    Is this tool operative or is in beta state?
    Thanks a lot.
    Miguel De Belliz.
    Argentina.

    I executed a query & need to cancel the operation. However the busy cursor won't let me click Cancel (X) icon. Why ?
    Also from time to time a simple operation of copy / paste freezes the screen and eventually comes back to life after 4/5 minutes. Why ?
    Platform : Windows
    Version : WinXP2002SP2
    SQL Dev Version : 1.0.0.13.43
    Build : MAIN-13.43
    Java : 1.5.0_05
    Oracle IDE : 1.0.0
    Regards

  • Problems with exporting display for oracle apps installation

    Platform : RedHat Enterprise Server 4
    I'm trying to do a 2 tier installation of Oracle Applications.
    As part of the install, I need to generate a display that can be used by the applmgr user, but bellongs to another user.
    When running the following command line, I get an error message.
    xauth -f .Xauthority extract - $DISPLAY | rsh -l applmgr localhost /usr/X11R6/bin/xauth merge -
    connect to address 127.0.0.1: Connection refused
    Trying krb4 rsh...
    connect to address 127.0.0.1: Connection refused
    trying normal rsh (/usr/bin/rsh)
    localhost: Connection refused
    Does anyne have an idea? I've done some troubleshooting, but I can't figure out what is wrong.
    I have added the following in the xmgr and applmgr's profiles
    DISPLAY=localhost:13
    export DISPLAY
    The vnc server runs on display 13

    These are the scripts/files I'm using for installing Oracle Apps 11.5.10 on CentOS 4.2 (RedHat Clone) - hope it helps:
    install.sh - adds necessary packages
    yum install libaio
    yum install openmotif
    yum install gcc
    yum install gcc-c++
    mv /usr/bin/gcc /usr/bin/gcc344
    mv /usr/bin/g++ /usr/bin/g++344
    rpm -iUhv compat-gcc-7.3-2.96.126.i386.rpm
    rpm -iUhv --nodeps compat-gcc-c++-7.3-2.96.126.i386.rpm
    ln -sf /usr/bin/gcc296 /usr/bin/gcc
    ln -sf /usr/bin/g++296 /usr/bin/g++
    setup.env - Setup paths
    # Oracle Setup Environment
    ORACLE_SETUP_APPS=/setup/oracle/install/ebusiness/startCD
    ORACLE_SETUP_PATCH=/data/setup/install/db
    oracle.env - Installation environment
    # Oracle Environment
    ORACLE_BASE=/d01/oracle
    ORACLE_HOME=$ORACLE_BASE/visdb/9.2.0
    ORACLE_VAR=/var/opt/oracle
    ORACLE_SID=VIS
    ORACLE_TERM=xterm
    # export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
    NLS_LANG=AMERICA_AMERICAN.UTF8
    #ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    export ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM NLS_LANG ORA_NLS33
    LD_ASSUME_KERNEL=2.4.19
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_ASSUME_KERNEL LD_LIBRARY_PATH
    # Set shell search paths
    export PATH=$PATH:/usr/sbin:/sbin:$ORACLE_HOME/bin
    oracle - Kernel Parameters
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem    = 250 32000 100 128
    fs.file-max   = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max     = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max     = 262144
    setup_oracle_1.sh - Installation Step 1 : Add oracle user
    #!/bin/sh
    PATH=$PATH:/usr/sbin
    groupadd dba          # group of users to be granted with SYSDBA system privilege
    groupadd oinstall     # group owner of Oracle files
    useradd -m -c "Oracle software owner" -g oinstall -G dba oracle -s /bin/bash
    passwd oracle
    setup_oracle_2.sh - Installation Step 2 : Prepare installation directory
    #!/bin/sh
    . ./oracle.env
    BASE_DIR=/`echo $ORACLE_BASE | cut -d'/' -f2`
    mkdir -p $ORACLE_BASE
    chown -R oracle:oinstall /$BASE_DIR
    chmod -R 775 $BASE_DIR
    mkdir -p $ORACLE_VAR
    chown oracle:dba $ORACLE_VAR
    chmod 755 $ORACLE_VAR
    setup_oracle_3_apps.sh - Installation Step 3 : Start installer
    #!/bin/sh
    . ./oracle.env
    . ./setup.env
    sysctl -p ./oracle
    su oracle -c "export DISPLAY=:0.0 && $ORACLE_SETUP_APPS/Disk1/rapidwiz/rapidwiz"There are some steps afterwards, but with this I'll usually end up with a complete installation.
    C.

Maybe you are looking for

  • 790FX-GD70 First build, no post out of box. (FF)

    Hello, I've read a few threads on the 790FX-GD70 and FF led read outs.  I've included direct links to newegg.com for closer inspection: Mobo:  MSI 790FX-GD70 AM3 Processor: AMD Phenom II X4 965 Black  125W Memory: G.SKILL 4GB (2 x 2GB) 240-Pin DDR3 1

  • Creation of the new infotype

    Hi All,         I am using the table control for my Infotype creation. i linked the internal table with the table control wizard. I added a check box in the table control ( which is not there in the internal table). i need to access this table contro

  • How can i import photos from iphoto 9.2.3 to 9.6

    I am migrating from a 2009 ibook to a Macbook pro 13.3 retina. How can  can I import photos from iPhoto 9.2.3 library to  the 9.6 iPhoto. I am running 10.6.8 snow leopard on the ibook which has 4Gb of memory. I tried but it just loaded icons to the 9

  • Mail 3.6 Leopard 10.5.8 Issues ?

    I just updated my Tiger Powerbook to Leopard 10.5.8. When i open mail nothing opens and it says unexpectedly quit. I can't get it to launch. Ideas ?

  • PS-HR Integration..................................?????---CATS

    Dear Experts, I need infomation on how CATS are integrated with Project System. Any documents, infomation on this will be appricaiated, Thanks in advance, R.B.paramshetty