Please help me for the Sql Loader???

Hi,
I have a control file in c:\txt_to_DB_EDI.ctl
insight that it is written that
LOAD DATA
INFILE 'D:\WING FAT\EDI_Sample.TXT'
APPEND INTO TABLE TEMP_DATA_WINGFAT
fields terminated by ' '
TRAILING NULLCOLS
(COMANY_CODE,SENDER_CODE,SENDER_TYPE,SUPPLIER_CODE,BYER_CODE,PO_NO,QC_DATE,INSPECTED_BY,
CARGO_DELV_DATE,STYLE,COLOUR,,CAR_SIZE,ORDER_QTY_PCS,SHPPED_QTY_PCS,TOTAL_CARTON,GOODS_DESC,
TAR_MODE,FILE_CREATION_TIME,FILE_NAME)
actually I have a table that has the following fields
CREATE TABLE TEMP_DATA_WINGFAT
COMANY_CODE VARCHAR2(100),
SENDER_CODE VARCHAR2(100),
SENDER_TYPE VARCHAR2(100),
SUPPLIER_CODE VARCHAR2(100),
BYER_CODE VARCHAR2(100),
PO_NO VARCHAR2(100),
QC_DATE VARCHAR2(100),
INSPECTED_BY VARCHAR2(100),
CARGO_DELV_DATE VARCHAR2(100),
STYLE VARCHAR2(100),
COLOUR VARCHAR2(100),
CAR_SIZE VARCHAR2(100),
ORDER_QTY_PCS VARCHAR2(100),
SHPPED_QTY_PCS VARCHAR2(100),
TOTAL_CARTON VARCHAR2(100),
GOODS_DESC VARCHAR2(100),
TAR_MODE VARCHAR2(100),
FILE_CREATION_TIME VARCHAR2(100),
FILE_NAME VARCHAR2(100)
I need to insert all data in the text file to the database.
The contains of the text file is just like the below
05 11 L 16 84 77538-445-12-106-102 20040907 SANJOY 20040820 1606 1606 Sea 20040907 10:09 QC_EDI_1.TXT
05 11 L 19 84 77554-626-64-112-001 20040907 SANJOY 20040905 4116 4116 Sea 20040908 09:09 QC_EDI_1.TXT
05 11 L 19 84 77554-626-64-111-001 20040907 SANJOY 20040905 4800 4800 Sea 20040908 09:09 QC_EDI_1.TXT
05 11 L 19 84 77554-626-64-110-001 20040907 SANJOY 20040905 4116 4116 Sea 20040908 09:09 QC_EDI_1.TXT
05 11 L 19 84 77554-626-64-109-001 20040907 SANJOY 20040905 4800 4800 Sea 20040908 09:09 QC_EDI_1.TXT
05 11 L 19 84 77554-705-42-209-001 20040907 SANJOY 20040901 4356 4356 Sea 20040908 10:09 QC_EDI_1.TXT
05 11 L 19 84 77554-705-42-209-102 20040907 SANJOY 20040901 4979 4979 Sea 20040908 10:09 QC_EDI_1.TXT
05 11 L 19 84 77554-705-42-214-001 20040907 SANJOY 20040901 1452 1452 Sea 20040908 10:09 QC_EDI_1.TXT
05 11 L 19 84 77554-705-42-214-102 20040907 SANJOY 20040901 670 670 Sea 20040908 10:09 QC_EDI_1.TXT
05 11 L 16 84 77538-346-01-203-001 20040907 SANJOY 20040915 1210 1210 Sea 20040908 10:09 QC_EDI_1.TXT
05 11 L 115 84 77507-669-61-204-001 20040907 SANJOY 20040901 8220 8220 Sea 20040908 11:09 QC_EDI_1.TXT
05 11 L 115 84 77507-669-61-203-001 20040907 SANJOY 20040901 6000 6000 Sea 20040908 11:09 QC_EDI_1.TXT
05 11 L 115 84 77507-750-60-116-001 20040907 SANJOY 20040901 12240 12240 Sea 20040908 11:09 QC_EDI_1.TXT
05 11 L 400001 84 73206-896-51-130-001 20040907 SANJOY 20040901 3200 3200 Sea 20040908 12:09 QC_EDI_1.TXT
05 11 L 400001 84 73206-896-51-133-001 20040907 SANJOY 20040901 2000 2000 Sea 20040908 12:09 QC_EDI_1.TXT
05 11 L 400001 84 73206-896-51-132-001 20040907 SANJOY 20040901 3200 3200 Sea 20040908 12:09 QC_EDI_1.TXT
05 11 L 400001 84 73206-896-51-131-001 20040907 SANJOY 20040901 2000 2000 Sea 20040908 12:09 QC_EDI_1.TXT
Askings are :
1. Please check the control file text.
2. then Please say how do I run this control file. Please write the code to run in the sql prompt.
Please treat this at an urgent basis.
FARHAD

The cmd is: sqlldr aa/bb@cc control=c:\txt_to_DB_EDI.ctl, before that you need to make sure sqlldr is available.
you may run it on server command line, sure you in your user's profile set the $SQLLDRCMD to the sqlldr executable.

Similar Messages

  • Control file for the sql*loader

    hi
    i'm doing my project in database management as the part of my project i have to write the control file for the sql*loader so, any one please clear the funda...so that i can get back to my project work...help me with sample code ..

    Refer chapter 3 and 5 on this url for sql loader and its control file references :
    http://download-west.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90192/toc.htm
    or
    http://download-east.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90192/toc.htm
    You may also refer sql loader examples on this page:
    http://otn.oracle.com/sample_code/products/intermedia/htdocs/avi_bulk_loading.html
    Chandar

  • Please help me convert the SQL to HQL

    select
    count(*) as col_0_0_
    from
    edu.hr_people_all hrpeopleal0_
    left outer join
    edu.conditions_journal conditions1_
    on hrpeopleal0_.people_id=conditions1_.people_id
    and conditions1_.personal_number like '%'
    where
    hrpeopleal0_.status=11

    Hibernate version: 3
    HQL as I 've done
    FROM PMSProjectsORO pjt LEFT JOIN PMSChecklistORO pcl
    ON pjt.projectId = pcl.projectId order by
    pjt.projectCode ascHQL is probably incorrect.
    Try this:
    FROM
    PMSProjectsORO pjt
    LEFT JOIN
    PMSChecklistORO pcl
    ORDER BY
    pjt.projectCode asc>
    Original SQL for MSQL5:
    FROM PMSProject LEFT JOIN PMSCheckList ON
    PMSProject.PROJECT_ID = PMSCheckList.PROJECT_ID order
    by PMSProject.PROJECT_CODE desc
    Name and version of the database you are using:
    MYSQL 5
    Please help me convert the sql to hql since what i
    've done is throwing error like unexpected token...
    Please reply ASAPLet me know if that's better.
    %

  • HT1414 Turn Passcode Off is disabled in my iPod touch 5. Could you please help me for the same ?

    Turn Passcode Off is disabled in my iPod touch 5. Could you please help me for the same ?

    What do yoo mean?

  • HT4436 I am using IOS 4.1 in Ipod touch. I would like to take my data back using icloud. I am not able to enable icloud in to my ipod touch. please help me for the same.

    I am using IOS 4.1 in Ipod touch. I would like to take my data back using icloud. I am not able to enable icloud in to my ipod touch. please help me for the same. Basically I am trying to take back to upgrade my ios to 5 or 6 version.

    You can't back up to iCloud until you update to iOS 5 or higher.  You will have to back up your iPod on your computer using iTunes.  Update iTunes on your computer to the latest version, then connect your iPod to your computer, open iTunes, if iTunes give you a pop-up asking if you want to update your iPod, decline.  Then click on the name of your iPod in iTunes, go to File>Devices>Transfer Purchases to transfer any purchased media to your iTunes library.  Next, go to the Summary tab of your iTunes sync settings and click on Back Up Now to back up your iPod on your computer.
    When it's done backing up, click on Check for Update (or Update) on the Summary tab of your iTunes sync settings.  Allow your iPod to update, and leave it connected to your computer.  At the end, it will restart and give you the option to restore to the iTunes backup you made earlier.  Choose this option to restore your backup and sync your apps and other iTuens media to your phone.
    This process is outlined in this article: http://support.apple.com/kb/HT4972, under "If you are attempting to update using a Mac or PC with which you normally sync".

  • I am using iphone 4s and just updated ios6 but my apple map is not working please help me for the same

    Dear all,
    as i am using i phone 4s in INDIA, today itself i updated my phone to operating system ios6, but my map of phone is not working , so please help for same.Its says "direction could not be found ", when i select the starting point and end point, go to start.
    With Regards
    Anurag

    Friend,
    refer to following discussion on the same
    Apple maps very disappointing

  • HT201263 so i followed the instructions but i have to update first and when i try to update it cant it quits in the middle please help me for the sake of my ipod touch 4th gen

    please help my ipod out of this rebooting loop the update doesnt work

    as in the loop it shows the apple logo on the screen and right as it gets out of reboot it flashes white and goes back to the apple logo and does it none stop its not in DFU mode because ive tried, and by it quits it has to update before i can restore and in the middle of the update it gives me a notification with a number on it the number is really long and has alot of 0's and i think one 7 so i hope that help your question for my question

  • Please help me for the Preloader"Adobe Presenter"

    Dear All
    i followed the older discussions:http://forums.adobe.com/thread/240866?tstart=30
    now in the Presenter 7 Settings (Theme Editor) that allows me to see the "adobe_presenter", i can even preview i did for the "adobe_presenter" in the theme editor.but when i publish it, it still keeps the same"adobe presenter" for the preloader.
    help me please.

    Hi: You need this driver... http://h20566.www2.hp.com/hpsc/swd/public/detail?swItemId=ob_125640_1

  • Someone please help me for the love of god!!!

    I currently have a MBP unibody 15" 2.53 I have all the cables etc etc, I am trying to hook this thing up to my Samsung 46" LCD. I have tried everything and I cannot get it to sync perfectly with my TV. What am I doing wrong? Can someone please tell me what setting my TV needs to be on and what setting my laptop needs to be on? I am dying over here spent close to $100 on cables and I cannot get this SOB to work.... Here are the specs on my TV if that helps at all.....
    http://www.amazon.com/Samsung-LN46B630-46-Inch-1080p-Touch/dp/B001U3Y8QI#moreAbo utThisProduct

    Hey Michael,
    I am using a Mini Display that plugs into the MBP and I am running an HDMI into that to the TV, I have a 24" LG monitor that I have had it hooked up to but I would like to have it hooked up to my TV. When I have it hooked up to the monitor in mirror mode and I close the laptop and hit the keyboard or mouse and it syncs with the monitor and adjusts to fit the screen perfectly. However, when I do that with my big screen it doesnt do that. It does show the Samsun in the Pref. Panel. and it is in Mirror Mode, I am not really sure what resolutions the Samsung preference shows.
    Is there something that I need to set on my TV to make it realize that I am hooking up a laptop to it? Also what setting would I need to put in display preferences? I am reallly really confused here. When I go to hook up my laptop all I do is plug in the cables go to system settings and click the highest resolution close the laptop and then reset it and it adjust to the correct resolution on my monitor, For some reason it doesnt seem to wanna do that when I have it hooked up to the TV.
    What would I want to do on the TV to make it so it adjusts?
    Thanks for all the help man I reallly appreciate this.

  • The data field format for the sql* loader

    the data field in my data file was surrounded by ",", such as "1","2","3",...
    so in my control file, I coded
    fields terminated by ',' enclosed by '"'
    no error after I execute sqlldr command.
    however, on data has been inserted into table either.
    if I remove "" and ,
    the data field changed to 1 2 3 ...
    and the data has been inserted into my table
    However the first format is what I want. can anyone experienced silmilar situation? please give me a hint.
    your help is highly appreciated
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Renali ():
    say:
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS (
    colname1,
    colname2,
    colname3)
    the data field in my data file was surrounded by ",", such as "1","2","3",...
    so in my control file, I coded
    fields terminated by ',' enclosed by '"'
    no error after I execute sqlldr command.
    however, on data has been inserted into table either.
    if I remove "" and ,
    the data field changed to 1 2 3 ...
    and the data has been inserted into my table
    However the first format is what I want. can anyone experienced silmilar situation? please give me a hint.
    your help is highly appreciated
    <HR></BLOCKQUOTE>
    null

  • Hi, my boyfriend send me iphone4s from canada as a birthday gift last year. my problem was my wifi button on my 4s doesnt work for almost 4mos.and they dont have any apple service center here in the philippines. please help me for the remedy. thanks alot

    my boyfriend send me an iphone 4s  from canada last march 2012. my problem is the wifi button of my 4s doesnt work since May this year. unfortunately here in the philippines there's no apple service center available.help me what to do so that i can use wifi again from my fone. thanks alot!

    First, try the steps Apple has here:
    http://support.apple.com/kb/TS1559
    If those do not help, your iPhone may well need service. You will not be able to get a Canadian iPhone serviced by Apple in the Philippines. You will need to send the iPhone back to your boyfriend or someone else in Canada who can get it serviced there and then send it back to you.
    Regards.

  • I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.​Please help me for that.

    I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.Please help me for that.
    1.)If i am using the continuous output mode.and the size of generated data is less than 32 MB.If i want to preload the memory,what should i do?I want that first of all i load all my data to onboard memory & then i want to make start the transfer between 6534 & peripheral.Is it possible?As per me it should be.Plz tell me how should i do this?I think that in normal procedure the transfer between 6534-peripheral & outputting data from pc buffer to onboard memory works parallely.But i don't want this.Is it poss
    ible?
    (2).Similarly in finite input operation(pattern I/O) is it possible to preload the memory and then i read it?Because i think that the PC memory will be loaded automatically when 6534 acquires the data and then when we use DIO read vi the pc buffer data will be transferred to application buffer.If this is true,i do not want this.Is it possible?
    (3) One more question is there if i am using normal operation onboard memory will be used bydefault right?Now if i want to use DMA and if i have data of 512 bytes to acquire.How will it work and how should i do it?Please tell me the sequence of operations.As per my knowledge in normal DMA operation we have 32 Bytes FIFO is there so after acquisition of 32 bytes only i can read it.How it will known to me that 32 bytes acquisition is complete?Next,If i want to acquire each byte separately using DMA interrupts what should i do?Provide me the name of sourse from which i can get details about onboard memory & DMA process of 6534 specifically
    (4).In 6534 pattern Input mode,if i want to but only 10 bits of data.and i don't want to waste any data line what should i do?

    Hi Vishal,
    I'll try to answer your questions as best I can.
    1) It is definitely possible to preload data to the 32MB memory (per group) and start the acquisition after you have preloaded the memory. There are example programs on ni.com/support under Example Code for pattern generation and the 6534 that demonstrate which functions to use for this. Also, if your PC memory buffer is less than 32MB, it will automatically be loaded to the card. If you are in continuous mode however, you can choose to loop using the on-board memory or you can constantly be reading the PC memory buffer as you update it with your application environment.
    2) Yes, your data will automatically be loaded into the card's onboard memory. It will however be transferred as quickly as possible to the DMA FIFO on the card and then transferred to the PC memory buffer through DMA. It is not going to wait until the whole onboard memory is filled before it transfers. It will transfer throughout the acquisition process.
    3) Vishal, searching the example programs will give you many of the details of programming this type of application. I don't know you application software so I can't give you the exact functions but it is easiest to look at the examples on the net (or the shipping examples with your software). Now if you are acquiring 512 bytes of data, you will start to fill your onboard memory and at the same time, data will be sent to the DMA FIFO. When the FIFO is ready to send data to the PC memory buffer, it will (the exact algorithm is dependent on many things regarding how large the DMA packet is etc.).
    4) If I understand you correctly, you want to know if you waste the other 6 bits if you only need to acquire on 10 lines. The answer to this is Yes. Although you are only acquiring 10 bits, it is acquired as a complete word (16bits) and packed and sent using DMA. You application software (NI-DAQ driver) will filter out the last 6 bits of non-data.
    Hope that answers your questions. Once again, the example code on the NI site is a great place to start this type of project. Have a good day.
    Ron

  • Please help to understand the Service parts planning,we r tring to do poc for project

    Hi
    Please help to understand the Service parts planning,we r tring to do poc for project
    1)How the sales history flow from cube to Interactive forecasting screen(like dp in apo there is no Planning area to store data and no load planning area from cube,so please let me know how it will load data?)
    2)How the Final demand will flow to DRP for further planning?
    3)What is the exact purpose of BOD?
    4)What is the leading indicator forecasting and the purpose?
    5)Where data will store in SPP (forecasting and other data like liveache in dp)?
    6)Product interchangeability and use?
    6)Can you please forward the process document to understand the flow as i am not able understand the help document
    Thanks for advance help
    Regards
    kkk

    Hi,
    Please check Service Part Supply Plan - Enterprise Services in SAP Advanced Planning and Optimization - SAP Library
    BR

  • Can you please help me out the Info Cubes info for Budget Execution?????

    Hi,
       Can you please help me out the Info Cubes info for Budget Execution and Cash Management.
    Thanks in advance,
    Andy

    Take the memory card out of the camer and put it in a card reader.  When it mounts on the desktop select it and try to change the name.  However, that might make it incompatible with the camera.  You'll just have to try and see.
    OT

  • HT1338 Could you please help me with the problem. I have mac os 10.7.4 on my macbook pro retina and want to update it to 10.7.5. I had been waiting for 2 hours to do it, but then it appeared that it was impossible. What should I do?

    Could you please help me with the problem. I have macbook with retina with mac os 10.7.4 ann want to update it to mac os 10.7.5. I had been waiting for 2 hours to do it and had tried 3 times but it appeared that it was impossible. What should I do?

    You can download the standalone updates:
    OS X Lion Update 10.7.5 (Client Combo)
    OS X Lion 10.7.5 Supplemental Update

Maybe you are looking for

  • Ajuda - Envio NF de Cancelamento Sefaz

    Pessoal, Estou com a seguinte dúvida, não sei como resolver o problema abaixo. O cliente gerou uma nota fiscal de saída com uma numeração, por exemplo, 1234, e emitiu essa nota para o SEFAZ. Após realizou o cancelamento dessa nota, contudo não altero

  • Problem starting Admin Server using Node Manager

    I have configured the Node Manager to run as a windows service. I want it to start the Admin Server when it is started. This is not working. The Node Manager starts without problem but does not appear to even attempt to start the Admin Server. No err

  • Adobe elements 6 and yosemite

    i have photoshop elements 6 would this be compatible with yosemite OS

  • Want to learn Business Objects..please guide me in this regard

    Hi All, Could anyone guide me how to lear Business objects ? Actually thr r many tools in this module ..please suggest me which one is the latest one with some information..i would like to do certification as welll...pls guide Thanks & Regards, Kiran

  • Formatting write error every time when trying to burn a DVD

    DVD Studio has worked for me in the past, but now every time I try to burn a DVD project, I get this: "Formatting failed - The recording device reported the media error: Write error (0x0C, 0x00)" As far as I can tell, I cleared the prefs for DVD Stud