Sytax error for SQL Loader

Hi,
when i run this using CMD it runs without any problem :
sqlplus u_net/u_net@"(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=ORCL))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.53)(PORT=1521)))"
And when i run this it gives me an error:
sqlldr userid=u_net/u_net@"(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=ORCL))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.53)(PORT=1521)))" control='C:\Documents and Settings\faheem.latif\Desktop\input\ControlFile.txt' skip=1 log=emp.log
error is :
LRM-00116: syntax error at 'u_net/u_net@(DES' following '='
Help please
Faheem Latif

Sure this is:
sqlldr userid='u_net/u_net@(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=ORCL))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.53)(PORT=1521)))' control=ControlFile.txt skip=1 log=emp.log

Similar Messages

  • Short dump error for delta load to 0CFM_C10 via 0CFM_DELTA_POSITIONS flow

    hi all,
    i am getting short dump error for delta load to 0CFM_C10 via 0CFM_DELTA_POSITIONS flow.
    not able to figure out the actual issue and how to solve it.
    can anyone suggest?
    below is the details of the short dump
    Short text
        Exception condition "UNKNOWN_TRANSCAT" raised.
    What happened?
        The current ABAP/4 program encountered an unexpected
        situation.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        A RAISE statement in the program "CL_SERVICE_TRG================CP" raised the
         exception
        condition "UNKNOWN_TRANSCAT".
        Since the exception was not intercepted by a superior
        program, processing was terminated.
        Short description of exception condition:
        For detailed documentation of the exception condition, use
        Transaction SE37 (Function Library). You can take the called
        function module from the display of active calls.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "RAISE_EXCEPTION" " "
        "CL_SERVICE_TRG================CP" or "CL_SERVICE_TRG================CM003"
        "SORT_TRANSACTIONS"
        or
        "CL_SERVICE_TRG================CP" "UNKNOWN_TRANSCAT"
        or
        "SBIE0001 " "UNKNOWN_TRANSCAT"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which
        actions and input led to the error.

    Hi,
    It seems like some routine are there and check your rotines , transformation etc.
    Regards
    sivaraju

  • How to set default directory for SQL LOADER

    hi all,
    i wanted to know how can we setup a default directory for SQL LOADER if at all we can. i connot place my control and data files in local system and use them at command prompt. rather i wanted to know if we can set default directory that the loader can use. this requirement is basically to enable all the clients to upload the data placed on the server and use the loader utility.
    thanks in advance,
    Basavraj

    Ella,
    You don't say which version of SQL Developer you are using via Citrix, but just setting the SQLDEVELOPER_USER_DIR hasn't worked for a long time (see Re: SQLDEVELOPER_USER_DIR does not function anymore). Also, since version 1.5, the default for the user directory (now set via ide.user.dir as shown below) is under the user profile area (relative to %APPDATA%), which you should be able to write to, even on Citrix.
    Assuming that neither of those help, you will need to get whoever installed SQL Developer on the Citrix C: drive to modify the sqldeveloper.conf to have a line like, where the path exists for everyone who will be using the shared SQL Developer (assumes everyone has a H: drive):
    AddVMOption -Dide.user.dir=H:\sqldeveloperAn alternative (depending on how you start SQL Developer via Citrix), is to create your own shortcut to start SQL Developer with something like:
    sqldeveloper -J-Dide.user.dir="%SQLDEVELOPER_USER_DIR%"theFurryOne

  • Format input for Sql*Loader

    I have a problem in formating an input file for Sql*Loader
    The file has the following format:
    1 Jeff
    2 Kyle
    3 Tom
    1 Lisa
    2 Bryan
    3 Max
    4 Rob
    5 Steve
    1 Richard
    2 Mary
    and so on
    the file should look as follows to process with Sql*Loader:
    1 Jeff 2 Kyle 3 Tom
    1 Lisa 2 Bryan 3 Max 4 Rob 5 Steve
    1 Richard 2 Mary
    any suggestions?
    Edited by: royce on Sep 18, 2008 2:08 AM

    royce wrote:
    I have a problem in formating an input file for Sql*Loader
    The file has the following format:
    1 Jeff
    2 Kyle
    3 Tom
    1 Lisa
    2 Bryan
    3 Max
    4 Rob
    5 Steve
    1 Richard
    2 Mary
    and so on
    the file should look as follows to process with Sql*Loader:
    1 Jeff 2 Kyle 3 Tom
    1 Lisa 2 Bryan 3 Max 4 Rob 5 Steve
    1 Richard 2 Mary
    any suggestions?
    Edited by: royce on Sep 18, 2008 2:08 AMActually, looking at your data again, you don't have a consistent format, so this makes it really difficult for something like SQL*Loader to process. If there were just e.g. 3 rows per record then that would be simple, but you are expecting SQL*Loader to look ahead to determine if there is more data or if it's reached the end of the record.
    You would be better to load the data (external tables would probably make it quicker and easier as the data will come in the order as it is specified in the file, which would help as you have no group identifier against the sets of records) as it is and then use SQL to process them.
    You haven't specified the resulting table that the data is loaded into. Is that just one single VARCHAR column with all the data concatenated or is it several columns (one for each name)?

  • Concatenate positions in control file for sql*loader utility.

    Is there a way to concatenate several character positions in a control file for sql*loader???
    example... field1 position(1:3) || position(5:7) ????
    I would rather not create any unnecessary temp tables for a straight load...

    How about...
    /code
    field1 position(1:7) char "substr(:field1, 1, 3) || substr(:field1, 5)"

  • Why no exclusive lock for conventional path loading for SQL*Loader?

    why no exclusive lock for conventional path loading for SQL*Loader?
    it use insert statement so it should use exclusive lock right?
    thanks

    ok, so only update statement would put a lock but not for insert statement?
    because I have seen a situation where a user update rows in a sesssion (without commit) prevent another user update the rows.
    thanks

  • Changing the File path for SQL Loader Recognition

    I am learning how to create a control file. The names.ctl file was placed in "Names" folder in my "C:\Windows" file.
    I get the following error when trying to run the script for sqlldr:
    Sql*Loader-500 Unable to open file.
    Sql*Loader-553 file not found
    Sql*Loader-System error: the system cannot find the specified file.
    The path on the folder in c:\Windows\names\names.ctl
    How do I make SQL Loader recognize it?

    Pl post details of OS and database versions. Have you tried this ?
    sqlldr CONTROL=c:\Windows\names\names.ctl ...HTH
    Srini

  • Error with SQL Loader 10g

    Hi,
    I use SQL Loader to load files into my database running on Suse Linux. The loader is invoked by a Java application.
    In Oracle 9i my string would be something like
    sqlldr DATA='opt/test information/sample.dat' PARFILE=/opt/test.par
    It worked.
    When I ran the same string in 10g I got an error like
    " multiple values not allowed for parameter 'data' "
    I tried escaping the ' with a \ , like
    sqlldr DATA=\'opt/test information/sample.dat\' PARFILE=/opt/test.par
    Now it gives me a different error
    SQL*Loader-500: Unable to open file (opt/test information/302.DAT)
    SQL*Loader-553: file not found
    I cannot remove the space from the directory. It has to be "test information".
    Can anybody help me out?
    Thanks,
    Karthik

    or better yet, you are on Linux so you have the luxury of creating a symbolic link to that directory and make the sym link without spaces and then use that in your sqlldr command line.
    you can keep the directory with spaces and have sqlldr run from the sym link.

  • NOWAIT error when sql loading

    I've this process that would perform multiple sql load into the same table with append option. It was working fine and then I get this error in 1 of my load.
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Continuation: none specified
    Path used: Direct
    Table OWNER.SCORES_TEMP, loaded from every logical record.
    Insert option in effect for this table: APPEND
    TRAILING NULLCOLS option in effect
    Column Name Position Len Term Encl Datatype
    ID FIRST * | O(") CHARACTER
    HSE NEXT * | O(") CHARACTER
    PROB NEXT * | O(") CHARACTER
    MODEL NEXT * | O(") CHARACTER
    SCORE_DATE NEXT * | O(") DATE YYYY-MM-DD
    SQL*Loader-951: Error calling once/load initialization
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00054: resource busy and acquire with NOWAIT specified
    I;ve read that update could cause this error, but haven't found anything on sql loading. What to do?
    Ku

    Be sure that no one (tools, program, session, previous sqlldr session, etc ) are using the underlining table.
    ciao

  • Error in sql loader

    hi,
    when i am trying to load data using sql loader i come across the following errors and i was unable to load data into my staging tables.
    please explain me what are they and how to rectify them.
    SQL*Loader-524: partial record found at end of datafile (D:\oracle\prodappl\fnd\11.5.0\bin\sri3.ctl)
    Program exited with status 3
    SQL*Loader-500: Unable to open file (D:\oracle\prodappl\fnd\11.5.0\bin\sr2.ctl)
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    please tell me where can i get complete information on errors occured during loading of data.
    please tell me whether there is any list of common errors encountered in sql*oader
    thanks in advance
    siddam
    Message was edited by:
    siddam
    null

    Both of datafile and control file should have line feed characters at the end.
    Check this site :
    http://radio.weblogs.com/0108008/stories/2003/04/11/experienceWithSqlLoader.html

  • Control file for SQL*Loader

    Hello,
    I have the following file (2 line) which I want to intend in an oracle database with the SQL*Loader.
    tommy050+3423
    tom 070-0006
    The file consists of two lines and three columns.
    Column1 has always 5 digits and is a String. Additional empty digits will be filled with blanks. Here: “tommy” and “tom “
    Column2 has three digits and is a number. Here: “050” and “070”.
    Column 3 is also a number and consists of four digits. Additionally there is a fifth digit for the leading sign ("+" or "-"). Here: “+3423” and “-0006”.
    This file I want to import in my table “MyTab”.
    MyTab(
         thing          VARCHAR2(5)
         number     NUMBER(3)
         amount     NUMBER
    How would the control file for the SQL*Loader look like for this example?
    Regards
    Homer

    This is a start (untested)
        LOAD DATA
        INFILE 'sample.dat'
        BADFILE 'sample.bad'
        DISCARDFILE 'sample.dsc'
        APPEND
        INTO TABLE MyTab
          ( thing POSITION(1:5)  CHAR ,
           NUMBER    POSITION(6:8)  INTEGER,
           amount POSITION(9:12) INTEGER  )Can you have a column named number?

  • OWB 10gR2 : How to configure ctl and log locations for Sql*Loader mappings?

    Hi all,
    I'm using OWB 10gR2 to load data in tables with Sql*Loader mappings.
    In my project I have a datafile module and an Oracle module.
    When creating an sql*loader mapping in the oracle module, there is two properties for this mappings that I want to modify. The first is Control File Location and the second is Log File Location. Values for those properties are equal to the data file module location. When trying to change those values I can only chose "Use module configuration location".
    Somebody knows how to configure those properties with different locations as the one of the flat file module?
    What I want to do is to store the data file in one directory, and control file and log file in other directories.
    Thank you for your help.
    Bernard

    Hi,
    You're right, my problem is that the dropdown only show the location associated with the flat file location even if I have other file locations created in the design repository.
    The good news is that I have found the solution to solve the problem :
    1) Edit the file module and in tab "Data locations", add the locations you want to use for control file and log file.
    2) Open configuration window of the mapping and then the dropdown for properties Control File Location and Log File Location show new locations
    I have tested my mapping after changing those properties and it's working.
    Bernard

  • Looking for SQL*Loader sample file

    Hi all,
    I'm looking for a sample SQL*Loader file that I could use to populate the Bank Statement Interface in Cash Management (Receivables Lockbox Receipts) - specifically CE_STATEMENT_HEADERS_INT_ALL and CE_STATEMENT_LINES_INTERFACE.
    I'm trying to put together an interface from Bank of America's Lockbox into our Oracle Receivables system (11.0.3), and don't have access to anything from which to start from.
    Thanks in Advance,
    Cam

    check it
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch10.htm#1656
    kuljeet pal singh

  • Question for SQL Loader / IMP /EXPORT

    hi all,
    i just describe my example first : -
    TABLE A have five columns.
    a_column,b_column,c_column,d_column,e_column.
    and have 1000 records.
    i want to remove c_column & e_column and add f_column.
    on TABLE A. which method (SQL Loader or IMP/EXP) is good suggestion for export & import data before take above action.
    boris

    Export/Import is the most appropiate solution for the task that you want to carry out because SQL*Loader is designed to load data into the database from flat files.
    Regarding how to drop the two columns , you can do it
    directly if you are working in 9i setting both columns as
    unused after drop unused columns in the table.
    Complete reference for those utilities:
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96652.pdf
    Joel P�rez

  • Apostrophe error for sql

    hi all, i keep having this syntax error with sql statement with words like I'm, she's..etc. any words with apostrophe's is misunderstood by sql. have searched for various solutions and tried this but it still doesnt work:
    String name=request.getParameter("name");
    String newname=name.replaceAll(" ' "," ' ' ");
    //(im replacing one apostrophe with 2 of them.)
    String sqlInsert = "insert into prod values(" +     " ' " + newname " ' )";
    what is wrong with this? thanks

    The correct answer here is the PreparedStatement (not that the other suggesstions won't work, but you should replace ' with '', that's single quote with double single quote, not single quote for double quote).
    As mentioned earlier all this will be taken care of. if you use PreparedStatement You should get in the habit of using them anyway. It eliminates nearly all kinds of formatting problems, dates, variables with punctuation, etc. Save yourself from having many more problems, use PreparedStatement.

Maybe you are looking for

  • Multiple User accounts on one PC (Vista)

    My wife and I share a PC running Vista. We each have separate user accounts. I have our music stored in a a shared (designated "Public Music")directory. However, every time I add music, it doesn't appear in her iTunes library until I add them while i

  • How do I add more mail accounts to my iPhone?

    Hey. I added a few email accounts in Mail and I changed the passwords on all the other accounts. But the new accounts do not appear on my iPhone or iPad and the old accounts did't sync. They still have the old passwords. Help! I am using Mavercks and

  • My new ipod nano is not recognized by my itunes and I have tried the trouble shooting tips

    my new ipod nano is not recognized by my itunes and I have tried the trouble shooting tips

  • Help needed in printing pc to pc (printer) using bluetooth

    I require to create a application in final year in which i have to print from my pc to another persons pc who has a printer attached (both pcs are bluetooth enabled using bluetooth dongles using Microsoft stack) Do i have to use java rmi ?? How do i

  • .class and ) expected error messages

    I know this is possibly the most pathetic question to be asked and im going to look like a dumbass but can anyone explain to me why i keep getting error messages while trying to use this method. endGame(fuelSold[], fuelQuant[]); private static int en