Unable to load staging area table in teradata from ODI

Hi
i'm unable to load data in Staging area in teradata. while loading i'm geeting following Error
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 9, in ?
Load Error: See D:\CRM_MOD\/CRM_PRODUCT_SS_0.log for details
     at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
     at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
     at com.sunopsis.dwg.cmd.e.i(e.java)
     at com.sunopsis.dwg.cmd.g.y(g.java)
     at com.sunopsis.dwg.cmd.e.run(e.java)
     at java.lang.Thread.run(Unknown Source)
please any one help me
Thanks
Edited by: user12079238 on Oct 19, 2009 1:17 AM

Hi,
I believe you made some mistake in the Phisycal Schema, quit the last "\" from there....
Cezar Santos
[www.odiexperts.com]

Similar Messages

  • Unable to load Cell Text (Memo A/c) from FDM to HFM..?

    Hi All,
    I am unable to load Cell Text (Memo a/c) from FDM to HFM. We use Import>validate>export function and use Upsload fucntion in the file to import the data. No errors are shown whilst loading the file and everything gets load except these Memo accounts The issue never arose when we were on version 11.1.1.3. We have recently migrated to 11.1.2.1. I have also checked Application Integration Settings where Cell Text is ticked as enabled.
    Can someone help please..
    Thanks,
    Maneesh

    Hi All,
    I am unable to load Cell Text (Memo a/c) from FDM to HFM. We use Import>validate>export function and use Upsload fucntion in the file to import the data. No errors are shown whilst loading the file and everything gets load except these Memo accounts The issue never arose when we were on version 11.1.1.3. We have recently migrated to 11.1.2.1. I have also checked Application Integration Settings where Cell Text is ticked as enabled.
    Can someone help please..
    Thanks,
    Maneesh

  • Unable to load DLL access is denied (exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    I'm consuming a 32-bit native DLL from a c# web service. Everything works fine locally in VS with IIS express. However when I deployed the site to a shared hosting provider (Server 2012 R2, IIS 7) the calls to the DLL (using platform invoke) generated an exception:
    Unable to load DLL 'dll_name.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    I asked the hosting provider to make sure my process is running in 32-bit mode and they assured me it is.Do I need to do anything special to use native DLLs? Do I have to register native modules with the server before they can be used? Anything to be set on
    the server side to grant access to the DLL?
    Thanks

    Thanks for your reply.
    Tech support tried the following:
    Ran "tasklist /m Detection.dll" It didn't return any processes that would lock the dll.
    Checked the permissions on the dll. The Network Service and app pool identity both had read/write/execute permissions. Just to make sure it wasn't permissions, they added IIS_IUSRS
    with r/w/x. Still didn't work.
    When this exception occurs, the exception.Message reads:
    Unable to load DLL 'Detection.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    However, the exception.HRESULT value is 0x80131524 which it seems to be DLL not found. I'm not sure why there's a difference.
    I recompiled the DLL with the  DetectObject() function removed (See code snippet below), that didn't seem to make any difference (same error codes)
    If I delete the DLL from the /bin folder, I get the following message:
    Unable to load DLL 'Detection.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
    The code that calls the DLL is as follows: 
    public class DllCalls
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern bool SetDllDirectory(string lpPathName);
    [DllImport("Detection.Dll")]
    public static extern int DetectObject(IntPtr array, int Rows, int Cols, string BaseFolder);
    public static class DetectionApis
    public static int[] DetectRectangle(int[] LumaImage, int LumaStride, Rectangle Rect)
    int DetPts = 0;
    string DstDll = System.Web.HttpContext.Current.Server.MapPath("~/bin");
    DllCalls.SetDllDirectory(DstDll);
    /*=================================================
    * Extract region of interest rectangle
    *================================================*/
    byte[] RoiRect = new byte[Rect.Width * Rect.Height];
    ImagePixels.ExtractRectToBytes(LumaImage, LumaStride, Rect, ref RoiRect);
    /*=================================================
    * Pass array ByRef
    *================================================*/
    int ArraySize = RoiRect.Length;
    byte OneByte = 0;
    IntPtr buffer = Marshal.AllocCoTaskMem(Marshal.SizeOf(OneByte) * ArraySize);
    Marshal.Copy(RoiRect, 0, buffer, RoiRect.Length);
    try
    string BaseFolder = System.Web.HttpContext.Current.Server.MapPath("~/cascades") + "\\";
    DetPts = DllCalls.DetectObject(buffer, Rect.Height, Rect.Width, BaseFolder);
    catch (Exception e)
    LogFile.WriteLogStrg("DetectObject() caused an exception: " + e.Message + "HRESULT = " + e.HResult.ToString("X8"));
    return (null);
    int[] DetPoints = null;
    if (DetPts == 8)
    DetPoints = new int[DetPts * 2];
    Marshal.Copy(buffer, DetPoints, 0, DetPts * 2);
    Marshal.FreeCoTaskMem(buffer);
    return (DetPoints);
    The imported DLL function is as follows:
    #ifdef __cplusplus
    extern "C" {
    #endif
    __declspec(dllexport) int __stdcall DetectObject (int *CharLumaBuf, int Rows, int Cols, char *BaseFolder)
    return(-100);
    #ifdef __cplusplus
    #endif
     Any ideas/suggestions?

  • Unable to load Set up tables

    Hi Guys,
    while we are loading the set up tables we are getting the following error in OLIBW7 transaction "Error determining rate: foreign curr. MYR local curr. PHP date 23.02.2007"
    I asked around the functional consultants and they informed that Currency Exchange Rate is not being loaded to D53 at all.
    Can any one let me know how to fix this problem....
    Thanks in advance

    - Go to Transaction LBWE (LO Customizing Cockpit)
    1). Select Logistics Application
           SD Sales BW
                Extract Structures
    2). Select the desired Extract Structure and deactivate it first.
    3). Give the Transport Request number and continue
    4). Click on `Maintenance' to maintain such Extract Structure
           Select the fields of your choice and continue
                 Maintain DataSource if needed
    5). Activate the extract structure
    6). Give the Transport Request number and continue
    - Next step is to Delete the setup tables
    7). Go to T-Code SBIW
    8). Select Business Information Warehouse
    i. Setting for Application-Specific Datasources
    ii. Logistics
    iii. Managing Extract Structures
    iv. Initialization
    v. Delete the content of Setup tables (T-Code LBWG)
    vi. Select the application (01 – Sales & Distribution) and Execute
    - Now, Fill the Setup tables
    hope this helps!!!

  • Unable to load data to Hyperion planning application using odi

    Hi All,
    When I try to load data into planning using odi, the odi process completes successfully with the following status in the operator ReportStatistics as shown below but the data doesn't seem to appear in the planning data form or essbase
    can anyone please help
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 2, in <module>
    Planning Writer Load Summary:
         Number of rows successfully processed: 20
         Number of rows rejected: 0
    source is oracle database
    target account dimension
    LKM SQL TO SQL
    IKM SQL TO HYPERION PLANNING is used
    In Target the following columns were mapped
    Account(load dimension)
    Data load cube name
    driverdimensionmetadata
    Point of view
    LOG FILE
    2012-08-27 09:46:43,214 INFO [SimpleAsyncTaskExecutor-3]: Oracle Data Integrator Adapter for Hyperion Planning
    2012-08-27 09:46:43,214 INFO [SimpleAsyncTaskExecutor-3]: Connecting to planning application [OPAPP] on [mcg-b055]:[11333] using username [admin].
    2012-08-27 09:46:43,277 INFO [SimpleAsyncTaskExecutor-3]: Successfully connected to the planning application.
    2012-08-27 09:46:43,277 INFO [SimpleAsyncTaskExecutor-3]: The load options for the planning load are
         Dimension Name: Account Sort Parent Child : false
         Load Order By Input : false
         Refresh Database : false
    2012-08-27 09:46:43,339 INFO [SimpleAsyncTaskExecutor-3]: Begining the load process.
    2012-08-27 09:46:43,355 DEBUG [SimpleAsyncTaskExecutor-3]: Number of columns in the source result set does not match the number of planning target columns.
    2012-08-27 09:46:43,371 INFO [SimpleAsyncTaskExecutor-3]: Load type is [Load dimension member].
    2012-08-27 09:46:43,996 INFO [SimpleAsyncTaskExecutor-3]: Load process completed.

    Do any members exist in the account dimension before the load? if not can you try adding one member manually then trying the load again.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to load and run program in DDR from SDK

    Hello all,
    I'm starting to work with Zynq and I'm quite a noob in this field.
    I generated a system for a ZC702 board in which the connections to the DDR memory and the GPIO are correct.
    When I try to run a "Hello world" example that writes such words via serial, I'm facing the problem that I can just run it from the internal ram on the Zynq, not from the DDR. I will try to explain this with more detail.
    When I set the on-chip memory (initial address is 0x00000000) on the linker script and I run the program, the XMD console shows this:
    XMD% Processor started. Type "stop" to stop processor
    User Interrupt, Processor Stopped at 0x00101104
    Processor Reset .... DONE
    Downloading Program -- D:/50_EXPs/080715/Zynq_702_projects/zynq_book/zynq_book.sdk/hello_world_gpio/Debug/hello_world_gpio.elf
    section, .text: 0x00000000-0x0000191b
    section, .init: 0x0000191c-0x00001933
    section, .fini: 0x00001934-0x0000194b
    section, .rodata&colon; 0x0000194c-0x00001963
    section, .data&colon; 0x00001968-0x00001ddb
    section, .eh_frame: 0x00001ddc-0x00001ddf
    section, .mmu_tbl: 0x00004000-0x00007fff
    section, .init_array: 0x00008000-0x00008007
    section, .fini_array: 0x00008008-0x0000800b
    section, .bss: 0x0000800c-0x0000802f
    section, .heap: 0x00008030-0x0000842f
    section, .stack: 0x00008430-0x0000a02f
    Download Progress.10.20.30.40.50.60.70.80.90.Done
    Setting PC with Program Start Address 0x00000000
    As you can see, al the addresses are correct. In this moment, the processor executes the program and everything is fine.
    Then, if I select the DDR memory (initial address: 0x00100000) on the linker script generation, the console shows:
    XMD% Processor started. Type "stop" to stop processor
    Software Breakpoint 0 Hit, Processor Stopped at 0x000015bc
    Processor Reset .... DONE
    Downloading Program -- D:/50_EXPs/080715/Zynq_702_projects/zynq_book/zynq_book.sdk/hello_world_gpio/Debug/hello_world_gpio.elf
    section, .text: 0x00100000-0x0010191b
    section, .init: 0x0010191c-0x00101933
    section, .fini: 0x00101934-0x0010194b
    section, .rodata&colon; 0x0010194c-0x00101963
    section, .data&colon; 0x00101968-0x00101ddb
    section, .eh_frame: 0x00101ddc-0x00101ddf
    section, .mmu_tbl: 0x00104000-0x00107fff
    section, .init_array: 0x00108000-0x00108007
    section, .fini_array: 0x00108008-0x0010800b
    section, .bss: 0x0010800c-0x0010802f
    section, .heap: 0x00108030-0x0010842f
    section, .stack: 0x00108430-0x0010a02f
    Download Progress.10.20.30.40.50.60.70.80.90.Done
    Setting PC with Program Start Address 0x00100000
     But the program is not run and the processor is like "blocked".
    There is just one scenario in which this second configuration works, and it's when the on-chip memories were previously loaded with the first configuration. This could indicate that the program counter is not pointing to the DDR, but to the on-chip memory. Then, when I select the DDR, if there is nothing on the memories of the chip, it does not execute anything.
    Does anyone have any idea of what's exactly happening and how to fix it?
    Thanks in advance!
    Ignacio.

    Hello Ignacio,
    Are you able to step through at all with the debugger to see if it gets stuck somewhere in particular?
    As a test of DDR setup itself, what happens if you link to OCM but do some pointer access directly to DDR (maybe write 0xdeadbeef to 0x10000000, readback 0x10000000, then print it)? Does it work okay?

  • STARTED IT, BUT STILL NEED HELP -- INPUTTTING CHARACTERS FROM LOADED FILE INTO TABLE, SELECTING STRINGS FROM TABLE AND PLACING IN NEW TABLE, SAVING NEW TABLE TO SPREADSHEET FILE

    I AM TRYING TO IMPORT CHARACTERS FROM A TAB DELIMITED FILE INTO A TABLE ON LABVIEW.  ONCE THE DATA IS IN THE TABLE I WANT TO BE ABLE TO SELECT INDIVIDUAL STRINGS FROM THE TABLE AND PLACE IT IN A NEW TABLE.  WHEN I CLICK ON A STRING I WOULD LIKE THE SELECTED STRING TO SHOW IN A TEXT BOX LABELED 'SELECTED STEP'  AFTER ALL THE SELECTED STRINGS IS IN THE TABLE I WOULD LIKE TO SAVE THE NEW TABLE AS ANOTHER SPREADSHEET -- TAB DELIMITED -- FILE, MAKING IT ACCESSIBLE TO OPEN.  HERE IS WHAT I HAVE SO FAR.  I CAN INPUT DATA INTO THE TABLE, BUT I CAN ONLY TRANSFER ONE STRING INTO THE TABLE I WOULD LIKE TO BE TO INPUT MULTIPLE STRINGS.    ALSO WHENEVER I TRY SAVING THE FILE, IT ALWAYS SAVES A UNKNOWN FILE, HOW CAN I GET IT TO SAVE AS A SPREADSHEET FILE.  THANKING ALL OF YOU IN ADVANCE FOR YOUR HELP!!!!!!
    Attachments:
    Selector.zip ‏30 KB

    Pondered,
       The question you are asking is the same one that you asked in: http://forums.ni.com/ni/board/message?board.id=170&message.id=132508#M132508, to which I supplied a revised version of the original vi you used (which was modified from the original one I supplied to an earlier thread). A couple of questions: 1) What does my latest not do that is in your question, 2) Why are you starting yet another thread about the same problem?  We are here trying to help, it makes it a lot easier if you keep the same problem in the same thread, it reduces duplication of effort from those that might not have been following the previous thread(s).  Those of us that don't have our "names in blue" are just doing this "for fun" (the blue names are NI employees, who may still be doing it "for fun"), and it makes it more fun if it doesn't seem (correctly or not) that our attempts are ignored.  If an answer doesn't help, or seems incomplete, post a little more detail to the same thread so that the original respondent, or someone new, can provide more information, or understand your problem better.
    P.M.
    Message Edited by LV_Pro on 07-20-2005 01:20 PM
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Creating staging area for setup downloaded from Oracle Edelivery

    Hi,
    I am going to install EBS 12.1.1 on RHEL 5.3
    I have downloaded the setup from edelivery.oracle.com
    Now I was wondering how I should create stage area.
    I came to know from couple of posts from Hussein that as I have downloded the setup(no CDs/DVDs),I just have to copy the downloaded file under the stage area directory
    and then unzip those files.
    But I came to know from EBS R12.1.1 installatioin guide that there has to be five sub-directories,before you actually start installation,namely
    startCD, oraApps, oraDB, oraAS, and oraAppDB
    So,my question is
    Will these directories get created automatically when I unzip the downloaded files?
    Do I have to unzip the downloded files in any particular sequence(so that these five sub-directories get created properly)?

    I came to know from couple of posts from Hussein that as I have downloded the setup(no CDs/DVDs),I just have to copy the downloaded file under the stage area directory
    and then unzip those files.Correct.
    But I came to know from EBS R12.1.1 installatioin guide that there has to be five sub-directories,before you actually start installation,namely
    startCD, oraApps, oraDB, oraAS, and oraAppDBThis is valid only if you stage the files from the Media Pack. If you have downloaded the file from e-Delivery website, then just place the files in one directory, extract it there and this will create the stage area directory for you.
    So,my question is
    Will these directories get created automatically when I unzip the downloaded files?Yes.
    Do I have to unzip the downloded files in any particular sequence(so that these five sub-directories get created properly)?The sequence does not matter, just make sure you have all the directories created.
    You may also run md5sum as per (MD5 Checksums for R12.1.1 Rapid Install Media [ID 802195.1]) to verify the integrity of the stage area directory once you are done with the staging.
    Thanks,
    Hussein

  • Load Plan Restartability features not visiable from ODI console (EWR)

    Hi,
    We are trying to use ODI console in TEST environment(Execution work Repository) to perform restartability of Load Plan. But when we right click on the failed LP, Restart link is not visible. I can do the same functionality using ODI console in DEV (Development work repository). Does this restartability feature is not available using ODI console of EWR?
    Thanks
    Sanjeet

    Hi Sanjeet,
    Based on the documentation here (http://www.orastudy.com/oradoc/selfstu/fusion/integrate.1111/e12643/odi_console.htm#CIAEGCDE), it looks like the Load Plan must be in error state and another instance of the Load Plan cannot be running in order to restart.
    Regards,
    Michael Rainey

  • "Error 1002097 Unable to Load database" while starting an Essbase App.

    Hello Essbase Experts,
    I am getting below error while starting an Essbase Application:
    "Error 1002097 Unable to Load database"
    Below is an extract from the Essbase Application Log:
    [2012-04-04T14:14:03.816-19:14] [RPA] [ESM-6] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm]. Essbase will try again after a short
    delay.
    [2012-04-04T14:14:04.821-19:14] [RPA] [ESM-5] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm]. Please make sure other processes do not
    access Essbase files while Essbase server is running.
    [2012-04-04T14:14:04.821-19:14] [RPA] [MBR-89] [WARNING] [1][] [ecid:1333566842161,0] [tid:2058170128] Unable to open
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm] for database
    [RPA][2012-04-04T14:14:04.821-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database [RPA]
    [2012-04-04T14:14:04.821-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database []
    [2012-04-04T14:14:04.835-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database []
    Please sugest pointers to start the application.
    Thanks,
    KK

    *[2012-04-04T14:14:03.816-19:14] [RPA] [ESM-6] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file*
    Solution would be easy ...like if the Essbase Agent is stopped using the services.msc (services panal)on Windows while a process is currently running, or if there has been an abnormal termination of the Essbase Agent, orphaned ESSSVR processes can be left. Shuting down the Essbase server using ESSCMD or MaxL then Check Task Manager confirm the ESSBASE.exe process later by this ESSSVR.exe processes should end if still NO then Do an "End Process" on any ESSSVR.exe process that is still running. Start the Essbase service and start the application.
    ESSSVR.exe is process which keep application Alive (bad thing is if u have many applications running similarlly u have same numbe of ESSSVr .exe will be running in task master ..but u cant find out which one belongs to which application :( )
    Reasons
    looking at your error i can say , First of all you need to know what is Lock in EAS ? and what locks exist
    (right-click on Essbase Servername, EDIT->LOCK and EDIT->LOCKED OBJECTS, and if your database/outline appears in there, unlock it.)
    Check any antivirus- and backup software that may be scanning / running on your Essbase folders as that can lock the files and any ESSSVR process stays when the Essbase Agent is stopped
    More over another chance of getting error is when you have you page and index files in different location and rest otl, rep.csc script in another drive .. usually while taking back up in OTL,csc drive u do get created index file and page file even u have page and index file in diffrent drive so doe to this u get this error unable to load database
    Hope this give u some idea

  • Table to File using ODI Procedure

    Pls help me ...describing what are the steps in ODI need for loading a RDBMS table to File using ODI Procedure....not using Interface and OdiSqlUnload
    Thanks in Advance

    You can use Java Beanshell or Jython to load data in to a file. The only thing is that you need to create a connection so that you can run the select query and get the resultset. Now write it using your rest code.
    If i would have been in your situtation i would prefer Java Beanshell ( not good in jython ;) . Dev can help you on this.). The readymade query is already here
    http://odiexperts.com/generate-column_name-header-for-odisqlunload/
    Thanks.

  • Database, Dataset, Table Adaptors Error "Unable to load, Update requires a valid DeleteCommand when passed DataRow collection with deleted row"

    Microsoft Visual Basic 2010 Express.
    I am new to Visual Basic programing and i am trying to understand the relationships between Datasets, database, table Adaptors. I have to following code that is is giving me the following error" Unable to load, Update requires a valid DeleteCommand
    when passed DataRow collection with deleted rows". 
    I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    It seems that i can delete the data on the DataGridView Table and it only displays the correct data. but my database is not updating, even though the data grid displays differently.I can determine this because, when i save the offset database, i have all
    the previous uploads and all the rows that i wanted to delete are still there.
    My final goal is to be able to import offset data from a CSV file, save this data on the pc, send a copy of this data to a NuermicUpDown so the customer can modify certain numbers. From here they download all the date to a controller.  IF the customer
    needs to modify the imported data, they can go to a tab with a data grid view and modify the table. They will also have to option to save the modified data into a csv file.  
    Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    CODE:
    Private Function LoadOffSetData()
            Dim LoadOffsetDialog As New OpenFileDialog 'create a new open file dialog and setup its parameters
            LoadOffsetDialog.DefaultExt = "csv"
            LoadOffsetDialog.Filter = "csv|*.csv"
            LoadOffsetDialog.Title = "Load Offset Data"
            LoadOffsetDialog.FileName = "RollCoaterOffset.csv"
            If LoadOffsetDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then  'show the dialog and if the result is ok then
                Try
                    Dim myStream As New System.IO.StreamReader(LoadOffsetDialog.OpenFile) 'try to open the file with a stream reader
                    If (myStream IsNot Nothing) Then 'if the file is valid
                        For Each oldRow As MaterionOffsetDataSet.OffsetTableRow In MaterionOffsetDataSet.OffsetTable.Rows
                            oldRow.Delete()                       
    'delete all of the existing rows
                        Next
                        'OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        Dim rowvalue As String
                        Dim cellvalue(25) As String
                        'Reading CSV file content
                        While myStream.Peek() <> -1
                            Dim NRow As MaterionOffsetDataSet.OffsetTableRow
                            rowvalue = myStream.ReadLine()
                            cellvalue = rowvalue.Split(","c) 'check what is ur separator
                            NRow = MaterionOffsetDataSet.OffsetTable.Rows.Add(cellvalue)
                            Me.OffsetTableTableAdapter.Update(NRow)
                        End While
                        Me.OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        MainOffset.Value = OffsetTableTableAdapter.MainOffsetValue          'saves all the table offsets
    to the offset numericUpDown registers in the main window
                        StationOffset01.Value = OffsetTableTableAdapter.Station01Value
                        StationOffset02.Value = OffsetTableTableAdapter.Station02Value
                       myStream.Close() 'close the stream
                        Return True
                    Else 'if we were not able to open the file then
                        MsgBox("Unable to load, check file name and location") 'let the operator know that the file wasn't able to open
                        Return False
                    End If
                Catch ex As Exception
                    MsgBox("Unable to load, " + ex.Message)
                    Return False
                End Try
            Else
                Return False
            End If
        End Function

    Hello SaulMTZ,
    >>I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    This error usually shows that you do not initialize the
    DeleteCommand object, you could check this
    article to see if you get a workaround.
    >> Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    If you are working CSV file, you could use OleDB to read it which would treat the CSV file as a Table:
    http://www.codeproject.com/Articles/27802/Using-OleDb-to-Import-Text-Files-tab-CSV-custom
    which seems to be easier (in my opinion).
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to load data / NullReferenceException only on certain tables when deployed

    I have a LightSwitch app that works fine when being debugged locally. But it has a strange issue when deployed as a Cloud Service to Azure. I have two Silverlight grid controls on the page which display a red x and give the error, "Unable to load data.
    Please check your network connection and try loading again."
    Several other queries are running on this page and correctly pull data from other tables in the database. The queries that run correctly are tied to label or text box controls.
    The queries that fail, return an HTTP Status code 500 (Internal error). If I try and pass the query to a constructor as an IVisualCollection,
    and I wrap the call in a Try block,
    the Inner Exception is "Object reference not set to an instance of an object." So, a Null Reference Exception. Checking for null before the constructor call and popping up a message box if the query was null as a means of debugging yielded nothing. I
    create these helpers all over. Only two are causing an issue and only when deployed. In addition, running the query in the Management Portal also completes fine.
    Try
    'Check for nulls
    If (Me.qQuoteByFirm Is Nothing) Then
    Me.ShowMessageBox("qQuoteByFirm", "Error", MessageBoxOption.Ok)
    End If
    If (Me.qQuoteByFirm.Screen Is Nothing) Then
    Me.ShowMessageBox("Screen", "Error", MessageBoxOption.Ok)
    End If
    If (New ModalWindowHelper(Me.qQuoteByFirm, "mwAddQuote", "Quote") Is Nothing) Then
    Me.ShowMessageBox("Modal", "Error", MessageBoxOption.Ok)
    End If
    'Create helper
    Me.HelperAddQuote = New ModalWindowHelper(Me.qQuoteByFirm, "mwAddQuote", "Quote")
    Catch ex As Exception
    Dim err As String = ""
    For Each item In ex.Data
    err = err & item.ToString()
    Next
    err = err & ex.InnerException.ToString() & vbCrLf & _
    ex.Message.ToString() & vbCrLf & _
    ex.StackTrace
    Me.ShowMessageBox(err, "Error", MessageBoxOption.Ok)
    End Try
    'Constructor
    Public Sub New(ByVal visualCollection As IVisualCollection, _
    ByVal dialogName As String, _
    Optional entityName As String = "")
    _collection = visualCollection
    _dialogName = dialogName
    _entityName = If(entityName <> "", entityName, _collection.Details.GetModel.ElementType.Name)
    _screen = _collection.Screen
    End Sub
    The actual construction of the queries does not seem to matter. I've tried several variations along with requesting the entire table. Same result. However, this only occurs on two specific tables. Grid controls displaying other tables on other screens work
    properly.
    Here's the weird part. If I comment out the call to the constructor, I can gain access to the gird control and add data to it even through the red box remains. If I refresh the grid control, the data disappears as if it wasn't saved or isn't there. But inspecting
    the table in SQL Azure Management Portal shows that the data was properly populated in the table.
    The app and the database are clearly connected and able to communicate fine. So why when reading from these two tables (but not writing to) are my grid controls throwing exceptions? Why does this only happen when deployed? What other techniques can I use to
    get more information?

    I am not very familiar with Lightswtich. But 500 is a server side error. Do you manually code the server side, or does Lightswitch automatically generates the server side code? If you manually coded, then please try to catch exceptions in
    your server side code. If the code is automatically generated, you may want to consult a Lightswitch forum on how to troubleshooting such issues. What's more, when you refresh the grid, what code are invoked? Try to check that piece of code and see if there're
    any problems, such as you reload the grid with empty data.

  • Unable to load data in to table using sqlloader

    Hi,
    Oracle Version :10.2.0.1
    Operating system:windows Xp
    I was unable to load the data in to table from csv file .Can any one please help me .
    Here is the output of my log file
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jun 3 12:43:22 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Control File:   ach_staging.ctl
    Data File:      E:\SQL LOADER\ACH_STAGING.csv
      Bad File:     E:\SQL LOADER\load_bad.bad
      Discard File: E:\SQl LOADER\emp.dsc
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table ACH_STAGING, loaded from every logical record.
    Insert option in effect for this table: INSERT
    TRAILING NULLCOLS option in effect
       Column Name                  Position   Len  Term Encl Datatype
    ACH_CODE                            FIRST     *   ,  O(") CHARACTER           
    LOAN_CODE                            NEXT     *   ,  O(") CHARACTER           
    LOAN_TYPE                            NEXT     *   ,  O(") CHARACTER           
    TRAN_ID                              NEXT     *   ,  O(") CHARACTER           
    BO_CODE                              NEXT     *   ,  O(") CHARACTER           
    BO_NAME                              NEXT     *   ,  O(") CHARACTER           
    ST_CODE                              NEXT     *   ,  O(") CHARACTER           
    ACH_TYPE                             NEXT     *   ,  O(") CHARACTER           
    ACH_EFFECTIVE_DATE                   NEXT     *   ,  O(") CHARACTER           
    AMT                                  NEXT     *   ,  O(") CHARACTER           
    CHECK_ACCNT_NO                       NEXT     *   ,  O(") CHARACTER           
    ABA_CODE                             NEXT     *   ,  O(") CHARACTER           
    ACH_STATUS                           NEXT     *   ,  O(") CHARACTER           
    TRAN_STATUS                          NEXT     *   ,  O(") CHARACTER           
    IS_HOLD                              NEXT     *   ,  O(") CHARACTER           
    IS_CANCELLED                         NEXT     *   ,  O(") CHARACTER           
    COMMENTS                             NEXT     *   ,  O(") CHARACTER           
    UPDATED_BY                           NEXT     *   ,  O(") CHARACTER           
    DATE_UPDATED                         NEXT     *   ,  O(") CHARACTER           
    CREATED_BY                           NEXT     *   ,  O(") CHARACTER           
    DATE_CREATED                         NEXT     *   ,  O(") CHARACTER           
    LOAN_TRAN_CODE                       NEXT     *   ,  O(") CHARACTER           
    ACH_AUTH                             NEXT     *   ,  O(") CHARACTER           
    REBATE_AMT                           NEXT     *   ,  O(") CHARACTER           
    PROMOTION_AMT                        NEXT     *   ,  O(") CHARACTER           
    TDC_ACH_NO                           NEXT     *   ,  O(") CHARACTER           
    INST_NUM                             NEXT     *   ,  O(") CHARACTER           
    DISABLE_ACH                          NEXT     *   ,  O(") CHARACTER           
    STMT_NO                              NEXT     *   ,  O(") CHARACTER           
    NEW_LOAN_TRAN_CODE                   NEXT     *   ,  O(") CHARACTER           
    REVOKED_BY                           NEXT     *   ,  O(") CHARACTER           
    REVOKED_DATE                         NEXT     *   ,  O(") CHARACTER           
    CHECK_STATUS                         NEXT     *   ,  O(") CHARACTER           
    value used for ROWS parameter changed from 64 to 30
    Record 1: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 2: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 3: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 4: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 5: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 6: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 7: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 8: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 9: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 10: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 11: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 12: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 13: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 14: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 15: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 16: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 17: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 18: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 19: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 20: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 21: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 22: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 23: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 24: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 25: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 26: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 27: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 28: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 29: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 30: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 31: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 32: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 33: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 34: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 35: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 36: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 37: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 38: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 39: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 40: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 41: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 42: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 43: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 44: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 45: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 46: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 47: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 48: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 49: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 50: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 51: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table ACH_STAGING:
      0 Rows successfully loaded.
      51 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.
    Space allocated for bind array:                 255420 bytes(30 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:            60
    Total logical records rejected:        51
    Total logical records discarded:        0
    Run began on Thu Jun 03 12:43:22 2010
    Run ended on Thu Jun 03 12:43:23 2010
    Elapsed time was:     00:00:00.17
    CPU time was:         00:00:00.10
    {code}
    and the data from the CSV file is
    {code}
    1767641     7537506     ILP     ADV     506703     MICHELLE WHITE     -40     CRE     07-NOV-08 01.36.04.000000000 PM     650               INP     PRO     N     N          54564     06-NOV-08 06.06.28.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2060997     PPD     0     0          0     N     1                    ACH
    1767642     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-DEC-08 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     28-NOV-08 09.00.17.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2061201     PPD     0     0          1     N     1                    ACH
    1767643     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-DEC-08 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     15-DEC-08 09.00.16.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2061614     PPD     0     0          2     N     1                    ACH
    1767644     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-JAN-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     31-DEC-08 09.00.55.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2063375     PPD     0     0          3     N     1                    ACH
    1767645     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JAN-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     15-JAN-09 09.01.10.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2064023     PPD     0     0          4     N     1                    ACH
    1767646     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-FEB-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     30-JAN-09 09.00.22.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2064639     PPD     0     0          5     N     1                    ACH
    1767647     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     17-FEB-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          6     N     1                    ACH
    1767648     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-MAR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          7     N     1                    ACH
    1767649     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-MAR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          8     N     1                    ACH
    1767650     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-APR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          9     N     1                    ACH
    1767651     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-APR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          10     N     1                    ACH
    1767652     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-MAY-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          11     N     1                    ACH
    1767653     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     18-MAY-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          12     N     1                    ACH
    1767654     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-JUN-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          13     N     1                    ACH
    1767655     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JUN-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          14     N     1                    ACH
    1767656     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-JUL-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          15     N     1                    ACH
    1767657     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JUL-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          16     N     1                    ACH
    1767658     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     03-AUG-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          17     N     1                    ACH
    1767659     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     17-AUG-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          18     N     1                    ACH
    {CODE}
    Thanks & Regards,
    Poorna Prasad.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    At last i was able to insert the data into the table but here i am facing another problem i the csv file i am having some null values in the data because of that only few records was inserted and remaining data was not inserted.
    Here is the syntax what i am using to insert even null values are present
        ACH_EFFECTIVE_DATE "to_timestamp(:ACH_EFFECTIVE_DATE,'DD-MON-RR HH.MI.SSXFF AM')" NULLIF ACH_EFFECTIVE_DATE=BLANKSand the error what i am getting is
    E:\SQL LOADER>sqlldr userid=rr/rr control=ach_staging.ctl log=ss1.log
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Jun 4 12:24:32 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL*Loader-350: Syntax error at line 16.
    Expecting "," or ")", found keyword nullif.
    EFFECTIVE_DATE,'DD-MON-RR HH.MI.SSXFF AM')" NULLIF ACH_EFFECTIVE_DATE=
                                                ^
    {code}
    can any one please help me what is the correct syntax i need to user here .
    Thanks & Regards,
    Poorna Prasad.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Load file into Oracle without staging area

    Is it possible to change LKM to do this?
    Thanks

    Yes it is.
    You can set the 'Work Schema' (staging) of your topology object to the same as your target (Data Schema), then all objects will be created in the target (C$ I$ etc), therefore no staging area is required - although this is not best practice.
    If you want to remove the staging tables altogether, then you can alter the knowledge module to load directly into the target in your LKM. It depends on the method you are using (external tables, sqlloader for example). You IKM will also need amending to basically do nothing, but has to be present for the interface to work.
    Cheers
    Bos
    Edited by: Bos on Apr 7, 2011 8:54 AM

Maybe you are looking for