SQL*Loader command line call with spaces in path

I need to call a remote control file and am attempting this:
sqlldr USER/password@SERVER \\servername\drivename\Folder Name Messing Me Up\PLACE\Programs\QC2\Data\StandardRawFileRAW.ctlIt keeps telling me the file cannot be found, but it is there! How should I write this so it can find the file?
Thank you so much!

Wrap your path name in single quotes
sqlldr USER/password@SERVER '\\servername\drivename\Folder Name Messing Me Up\PLACE\Programs\QC2\Data\StandardRawFileRAW.ctl'Regards,
Phiri

Similar Messages

  • How to refer the SQL*Loader command line parameters in the control file

    The problem I am trying to resolve is to insert the input file name when SQL*Loader is loading the record from the file. I have multiple files to load and it is nice to associate a record with a particular input file.

    Create the control file dynamically (and fill one of the columns with the file name as a constant) before you start SQL*Loader
    Another option is to use external tables
    Re: Data Loading
    Message was edited by:
    Jens Petersen

  • Using the Metadata Loader Command Line Utility

    Hi ,
    Can anybody please let me know the steps involved for import and export of metadata uing the Metadata Loader Command Line Utility with small scripts as an example.
    Thanks in advance.
    Vinay

    I'll assume that command line utility = ombplus...
    using OMBPLUS, Here it is:
    OMBCONNECT my_user/My_password@host:port:SID
    OMBEXPORT TO MDL_FILE 'C:/temp/DELTA_RS52_LICC2.mdl' \
    FROM PROJECT 'NEW_ARCHITECTURE' \
    COMPONENTS ( \
    LOCATION 'TRG_NEW_ARCH_WORKAREA_LOC',\
    CONNECTOR 'TRG_WORKAREA_LIBOWNER_CONNECT', \
    ORACLE_MODULE 'TRG_WHOWNER', \
    TABLE 'CPF_VALID3', \
    TABLE 'CPF_VALID3_2', \
    TABLE 'CPF_VALID3_3', \
    TABLE 'CPF_VALID3_4', \
    MAPPING 'MAP_WA_CLAIM_DIM', \
    MAPPING 'MAP_WA_POLICY_DIM2_INS', \
    MAPPING 'MAP_WDC1_CLIENT_FOR_LIB', \
    FUNCTION 'UPD_WDC1_CLIENT_LIB', \
    FUNCTION 'VALIDATE_CHARGED_PREMIUM_1_F', \
    FUNCTION 'VALIDATE_CHARGED_PREMIUM_2_F', \
    FUNCTION 'VALIDATE_CHARGED_PREMIUM_3_F', \
    FUNCTION 'VALIDATE_WA_DRIVER_VEH_FACT_I', \
    PACKAGE 'INITIALIZATION', \
    ORACLE_MODULE 'TRG_WORKAREA', \
    TABLE 'AUPMGEN', \
    TABLE 'AUPMGEN_TR0', \
    TABLE 'WDC1_CLIENT_LICC', \
    TABLE 'WDC1_CLIENT_LICC_TEMP_UPD', \
    TABLE 'WG_CHARGED_PREMIUM_VALID', \
    FUNCTION 'GET_DT_TRX_TRANSACTION', \
    FUNCTION 'GET_OCC_OP_LKP', \
    PROCEDURE 'DISABLE_ENABLE_CONSTRAINTS', \
    PROCEDURE 'EXEC_WF_CPF_VALIDATIONS', \
    PROCEDURE 'EXEC_WF_DAUTO_DAILY', \
    PROCEDURE 'EXEC_WF_PER_GENDAT_DAILY', \
    PROCEDURE 'EXEC_WF_PER_GENTER_DAUTO', \
    PROCEDURE 'LOAD_PAST_FUTURE_CALENDAR', \
    PROCEDURE 'VALIDATE_CHARGED_PREMIUM_DS', \
    MAPPING 'MAP_AUPMCON_LIB', \
    MAPPING 'MAP_AUPMGEN_LIB', \
    MAPPING 'MAP_AUPMGEN_LIB_CPF', \
    MAPPING 'MAP_AUPMGEN_TR', \
    MAPPING 'MAP_AUPMGEN_TR0', \
    MAPPING 'MAP_AUPMGEN_TR0_CPF', \
    MAPPING 'MAP_AUPMGEN_TR0_CPF_PERF', \
    MAPPING 'MAP_AUPMGEN_TR_CPF_PERF', \
    MAPPING 'MAP_AUPMVEH_LIB', \
    MAPPING 'MAP_AUPMVEH_LIB_CPF', \
    MAPPING 'MAP_CHARGED_PREMIUM_FACT_TR1', \
    MAPPING 'MAP_IA_POLICY_TERM_LKP_2', \
    MAPPING 'MAP_SA_POLICY_SALES_CHAN_LIB', \
    MAPPING 'MAP_SIPGED_DAILY_2_LIB', \
    MAPPING 'MAP_SIPGED_LIB', \
    MAPPING 'MAP_SIPGED_TR', \
    MAPPING 'MAP_SIPRES_LIB', \
    MAPPING 'MAP_SIPVES_LIB', \
    MAPPING 'MAP_WA_CLAIM_FACT_TR1', \
    MAPPING 'MAP_WA_DRIV_VEH_FACT_TR1', \
    MAPPING 'MAP_WDC1_CLIENT_LIB', \
    MAPPING 'MAP_WDC1_CLIENT_LICC_LAST_VERS', \
    PROCESS_FLOW_MODULE 'NEW_ARCH_WF', \
    PROCESS_FLOW_PACKAGE 'DAUTO', \
    PROCESS_FLOW_PACKAGE 'WAUTO') \
    OUTPUT LOG TO 'C:/TEMP/DELTA_RS52_LICC2_exp.log'
    #now to import,still with OMBPLUS,
    OMBCONNECT my_user/My_password@host:port:SID
    OMBIMPORT MDL_FILE 'C:/temp/DELTA_RS52_LICC2.mdl' USE UPDATE_MODE OUTPUT LOG TO 'C:/temp/DELTA_RS52_LICC2_imp.log'
    Hope this is what you wanted
    Michel

  • Command line calling

    Hello everyone,
    I am a PhD student in Stockholm, studying VoIP technology. I am in the middle of writing my dissertation, about command line calling.
    As I'm doing my researches, I've already found some very interesting research material, such as this page:
    XxXwww.voip-sip-sdk.com/p_251-how-to-use-the-command-line-caller-example-with-ozeki-voip-sip-sdk-voipXxX (cancel the X-s)
    It would be great to find someone to discuss this program, or maybe a whole group, because it would really help me with moving on.
    Any advice is welcome!
    Thx
    gemma

    >> The problem is the how to call this loader command remotely from our file adapter OS command line.
    The below link might be helpful ...
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

  • SQL*Loader-951: Error calling once/load initialization

    Dear all,
    11g on solaris 10.
    Dear all,
    When loading data using the below :
    sqlldr username/password@db control=data.ctl direct=true errors=10000 readsize=1048576 log=databill.log
    data loading successful.
    but when am speeding up the same and trying to load as below :
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true bindsize= 5048576 multithreading=true log=databill.log
    SQL*Loader-951: Error calling once/load initialization
    ORA-26002: Table username.table has index defined upon it.
    If I drop index, and run the same it works fine.. is there way I can speed up the insert (append) using the above
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true bindsize= 5048576 multithreading=true log=databill.log
    control file :
    UNRECOVERABLE
    LOAD DATA
    INFILE "databill.dat" "str X'0c'"
    BADFILE "databill.bad"
    DISCARDFILE "databill.dis"
    APPEND
    PRESERVE BLANKS
    INTO TABLE username.databill_TEST
    FIELDS TERMINATED BY X'07' TRAILING NULLCOLS
    Thanks
    Kai

    Thanks ,
    when using ,
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true readsize=1048576 bindsize= 5048576 multithreading=true log=databill.log
      12048217 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
      Date cache:
       Max Size:      1000
       Entries :       424
       Hits    :  81540372
       Misses  :         0
    Bind array size not used in direct path.
    Column array  rows :    5000
    Stream buffer bytes:  256000
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:      12048217
    Total logical records rejected:         0
    Total logical records discarded:        0
    Total stream buffers loaded by SQL*Loader main thread:     3767
    Total stream buffers loaded by SQL*Loader load thread:    11300
    Run began on Thu Dec 17 19:36:01 2009
    Run ended on Thu Dec 17 19:42:16 2009
    Elapsed time was:     00:06:14.25
    CPU time was:         00:02:29.55when using
    sqlldr username/password@db control=data.ctl direct=true errors=10000 readsize=1048576 log=databill.log
      12048217 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
      Date cache:
       Max Size:      1000
       Entries :       424
       Hits    :  81540372
       Misses  :         0
    Bind array size not used in direct path.
    Column array  rows :    5000
    Stream buffer bytes:  256000
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:      12048217
    Total logical records rejected:         0
    Total logical records discarded:        0
    Total stream buffers loaded by SQL*Loader main thread:     3767
    Total stream buffers loaded by SQL*Loader load thread:    11300
    Run began on Thu Dec 17 04:29:05 2009
    Run ended on Thu Dec 17 04:37:04 2009
    Elapsed time was:     00:07:58.95
    CPU time was:         00:03:04.94How can I acheive maxium loading performance, what do I have to add to this :
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true readsize=1048576 bindsize= 5048576 multithreading=true log=databill.log
    Please guide
    Kai

  • Hide oracle password on Unix command line call?

    Does anyone know whether you can hide the password for a command line call to rwrun60 under Unix? For other Oracle products like sqlplus you can hide the password by supplying it using the redirection operator. i.e. sqlplus userid @script <<EOD and then put the password or password@sid on the next line and then EOD on the 3rd line to end the redirection. This virtually hides the password from anyone able to look at processes on the system. Can this also be done for rwrun60? If you just put the userid after userid= will reports prompt you for a password?

    Take a look at http://java.sun.com/features/2002/09/pword_mask.html.
    Hope this helps,

  • (8I) SQL*LOADER에서 | (PIPE LINE)을 RECORD SEPARATOR로 사용하기

    제품 : ORACLE SERVER
    작성날짜 : 2003-10-21
    ===============================================================
    (8I) SQL*LOADER에서 | (PIPE LINE)을 RECORD SEPARATOR로 사용하기
    ===============================================================
    PURPOSE
    Oracle8i부터는 , SQL*Loader을 사용할때 record terminator을 지정할 수 있게
    되었다.
    Explanation
    Oracle8i 이전에는 record seperator로 default로 linefeed(carriage return,
    newline 등)였다. 이전에는 VAR 또는 FIX 등의 적당한 file을 다루기 위한 옵션을
    주어야 하기 때문에 복잡한 감이 있었고 flexible하지 못했다.
    Oracle8i부터는 , SQL*Loader을 사용할때 record terminator을 지정할 수 있게
    되었다. newline 또는 carriage return 문자를 포함하는 data 또는 special 문자를
    포함하는 data를 load하고자 할때 record terminator를 hexadecimal로 지정하여 활용할 수 있다.
    Example
    다음의 예제는 '|' (pipe line)을 record separator로 사용한다.
    record separator를 사용하기 위해서 SQL*Loader의 control file에 'infile'절에 적당한 값을 지정하여야 한다.
    아래의 예는 '|' (pipe line)을 사용하기 위해서
    "str X'7c0a'"을 'infile'절에 지정하였다.
    --controlfile : test.ctl
    load data
    infile 'test.dat' "str X'7c0a'"
    into table test
    fields terminated by ',' optionally enclosed by '"'
    (col1, col2)
    --datafile: test.dat
    1,this is the first line of the first record
    this is the second|
    2,this is the first line of the second record
    this is the second|
    SQL> desc test
    Name Null? Type
    COL1 VARCHAR2(4)
    COL2 VARCHAR2(100)
    $ sqlldr scott/tiger control=test.ctl log=test.log
    load된 data을 보면 아래와 같이 carriage return이 들어가 있는 data가 한 column에
    제대로 들어간 것을 볼 수 있다.
    SQL> select * from test;
    COL1
    COL2
    1
    this is the first line of the first record
    this is the second
    2
    this is the first line of the second record
    this is the second
    RELATED DOCUMENT
    <Note:74719.1>

  • I want to create an applescript/automator tool to launch the "Add to library" command in iTunes with a specific path. Need process under the hood

    I want to create an applescript/automator tool to launch the "Add to library" command in iTunes with a specific path. I need to know what process is run under the hood to create such a script.
    To put you in context, I have an NFS mount point with all my music and with the "add to library" command, I can add more music to the folder and update iTunes without dragging the individual folders or the whole mount point and avoid having the songs show up as doubles.
    Anyone know what OS/Unix process is being called for such a command?

    I want to create an applescript/automator tool to launch the "Add to library" command in iTunes with a specific path. I need to know what process is run under the hood to create such a script.
    To put you in context, I have an NFS mount point with all my music and with the "add to library" command, I can add more music to the folder and update iTunes without dragging the individual folders or the whole mount point and avoid having the songs show up as doubles.
    Anyone know what OS/Unix process is being called for such a command?

  • SQL loader and stream files with new line '

    I have been trying unsuccessfully to load EDI files using SQL loader. The problem
    is that the lines are terminated by ' and when I use the stream file option it does
    not recognise the line terminator given. As I understand it from the documentation
    this should work - but it does not. I have also used the Hex option with no better
    result. Does anyone have any ideas ?
    I can and have used tr "[']" "[\n]" in Unix to convert the ' to newlines - I just
    wonder am I missing something in SQL loader which will allow me to do this ?
    This is the sql loader control file
    LOAD DATA
    INFILE 'WS860685.MFD' "Str ''' "
    BADFILE 'WS860685.bad'
    DISCARDFILE 'WS860685.dsc'
    INTO TABLE "DUND1"."EDI_LOADED_TEMP"
    REPLACE
    FIELDS TERMINATED BY '+'
    TRAILING NULLCOLS
    (L1,
    L2,
    L3,
    L4,
    L5,
    L6,
    L7,
    L8,
    L9,
    L10,
    L11,
    L12,
    L13,
    L14,
    L15,
    L16,
    L17,
    L18,
    L19,
    L20,
    L21,
    L22,
    L23,
    L24,
    L25,
    L26,
    L27,
    L28,
    L29,
    L30,
    L31,
    L32,
    L33,
    L34,
    L35,
    L36,
    L37,
    L38,
    L39,
    L40,
    LNO)
    Heres a sample of the data
    UNB+UNOA:2+5398888501357+5398888501838+080306:0737+395+ DESADV+++1'UNH+0001+DESADV:D:93A:UN:EAN004'

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6020061915147
    answers this question perfectly

  • SQL Loader - CSV Data file with carraige returns and line fields

    Hi,
    I have a CSV data file with occasional carraige returns and line feeds in between, which throws my SQL loader script off. Sql loader, takes the characters following the carraige return as a new record and gives me error. Is there a way I could handle carraige returns and linefeeds in SQL Loader.
    Please help. Thank you for your time.
    This is my Sql Loader script.
    load data
    infile 'D:\Documents and Settings\user1\My Documents\infile.csv' "str '\r\n'"
    append
    into table MYSCHEMA.TABLE1
    fields terminated by ','
    OPTIONALLY ENCLOSED BY '"'
    trailing nullcols
    ( NAME CHAR(4000),
    field2 FILLER,
    field3 FILLER,
    TEST DEPT CHAR(4000)
    )

    You can "regexp_replace" the columns for special characters

  • SQL Loader command cannot be called from SQLDeveloper.

    I read that SQL*PLUS will not be supported on Oracle 12C. Will Oracle add the ability to call SQL*Loader from SQLDeveloper. I find the SQL*Loader utility to be very useful for Data Modeling and the importing of unusually formatted data into multiple tables. Will Oracle still support SQL*Loader utility?

    Wrap your path name in single quotes
    sqlldr USER/password@SERVER '\\servername\drivename\Folder Name Messing Me Up\PLACE\Programs\QC2\Data\StandardRawFileRAW.ctl'Regards,
    Phiri

  • SQL works from SQL*Plus command line but not as a DBMS_JOB submitted job

    Oracle 10g 10.2
    Got a procedure which does not run correctly as an Oracle job but runs fine as a SQL script.
    There are no Oracle errors (or any errors) of any kind when the job does not run fine – it just does not update any rows. But when run as a SQL script – the same way it is run as a job – then the rows are updated.
    Any ideas?

    Good stuff....
    See my replies to some of the questions in italics
    a) Different NLS settings => The job uses the NLS settings of the session that created it. If you create it with some tool like TOAD, you might have a different environment than with sql*plus. Runs good in TOAD and SQL*Plus using the command-line feature - just 'acts funky' when submitted.
    b) Interval issue. Are you sure the job was running? Isn't still running? The job runs successfully - even logs a successful message in our logging table.
    c) User/priviledge issue. Sometimes a job needs direct grants whereus a procedure can be called with priviledges granted through roles. Don't know - need to check this out.
    d) Transaction handling / Error Handling. The job runs into some error, but the error is supressed, because of bad exception handling. What is the value in the BROKEN column, when you do: select * from user_jobs; I would think that, since the errors are logged into a side table, an error would be found there. However, no errors are found. The BROKEN column is 'N'.

  • File adapter OS command line - Calling a command remotely ??

    Hi,
    We have a scenario where in which receiver file adapter after putting a file on the FTP  , a subsequent XML loader needs to be called which would load data into the client legacy ERP system.
    There seems to be some idea about doing it through file adapter OS command line.
    The problem is the how to call this loader command remotely from our file adapter OS command line.
    Any help would be appreciated ???

    >> The problem is the how to call this loader command remotely from our file adapter OS command line.
    The below link might be helpful ...
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

  • How to process command line options with plugin?

    Hi there,
    i am currently working on a c++ plugin for Adobe Acrobat 7 with the SDK 7.0.5.
    I let the user open a specific pdf by clicking a link in the browser,
    therefor I registered an additional protocol in the windows registry. Works fine.
    But I now want to tell my plugin some specific things when calling acrobat.exe that way.
    So is there a way to get self-specified command line parameters given to acrobat.exe?
    It would also be helpful if my plugin would know the URL parameters appended with #.
    I could also use that.
    I could not find anything on that issue.
    kind regards,
    Sebastian

    No, your plugin doesn't get any access to the command line.  Look for other methods of IAC (COM, DDE, shared memory, shared file, etc.)

  • XSQL Command-Line, parameters with blanks

    Is it possible to use XSQL Command-Line with parameters containing blanks (space characters).
    In an URL parameter spaces can be encoded with "+" or "%20", but this does'nt seem to work with XSQL Command-Line parameters.
    -- Peter

    I can't make this work on Unix (solaris), but I can see it is a shell script problem, not a XSQL problem.
    The normal syntax for Unix shell script would be
    $ script.sh foo="one two"
    but the standard Oracle-supplied xsql unix shell script sets environment and passes all command-line parameters to the java program with
    oracle.xml.xsql.XSQLCommandLine $*
    and thereby the quotes disappear.
    The problem is not really big, since I could just do
    oracle.xml.xsql.XSQLCommandLine test.xsql "foo=one two"
    after setting classpath. Anyway, if anybody knows how to make the xsql script work with quoted parameters, let me know.
    -- Peter

Maybe you are looking for

  • Z report for purchase register

    Hello Friends, My client is having Z report for running purchase register. but if he runs reports, conditional values are not flowing to the report. Only quantity, amt, net order price, UOM are appearing, vat, duties, freight are not displaying in th

  • Querying all active forms

    Hi, I am trying to see if the following is possible within the Eloqua API, and if so, the best way to write this query. I am currently doing the following: select all  form submits for form X in the last Y time span I would like to change the query t

  • BI Publisher Java API not displaying Barcode in PDF Report

    Hi Team, I have used BI Publisher java API in my ADF Application to generate PDF reports. It is not displaying barcodes in the PDF Reports. I have included Code 39 ttf file in my java home as well. Please let me know if any other configuration needs

  • How to use MP3 music with Premiere Pro CS3 ?

    When I try to add a MP3 Audio music file into Premiere Pro CS3 to use with my video I get a file format not able. Can someone please tell me how to use MP3 music files with my video im trying to make, is it possible?

  • Itunes crackling, popping sounds...

    Hi all, I have been having annoying clacking/popping sounds in iTunes 8.02.20. Please do not direct me to the link intitled "iTunes and QuickTime: Audio does not play or plays incorrectly" since I checked and tried everything there. The problem affec