Oracle External Table SELECT FROM problem from workstation

At Solaris Oracle database server console.
Created directory on the Solaris server as Oracle owner.
As SYS created oracle directory object on that Solaris directory
Granted read/write to SCHEMA_OWNER on that oracle directory object.
Using OS Oracle user, moved a tab-delimited flat file into the Solaris directory.
Logged on a SCHEMA_OWNER using SQLPLUS on the Solaris database server.
Ran external table script in SQLPLUS.
External table was created.
Ran Select * from ext_table.
Appropriate dataset returned.
So at the Oracle Solaris server console,
the create external table script worked without errors,
and a select from statement on the external table worked without errors.
Move to developer workstation:
Logged on as SCHEMA_OWNER using SQLPLUS on Windows workstation.
TNSNAMES of course points to the Solaris database server.
Ran the external table script in SQLPLUS.
External table was created.
Ran Select * from ext_table.
This failed with these errors:
ORA29913 error executing ODCIEXTTABLEOPEN callout
ORA29400 data cartridge error
cant open logfile.log
OS permission denied
ORA06512 sys.oracle_loader line 19
So how can I select from external tables from a windows workstation?
Any guidance on this problem would be appreciated.

Thank you for your response.
I am not creating the external table on the workstation.
In both cases,
from the Solaris console
and from the Windows workstation
the external table is being created on the Solaris file system
in an Oracle Directory object
running an SQL script from SQLPLUS prompt.
The external table creator, schema owner, has read and write permissions
granted by SYS on the oracle directory object.
The problem is:
Logged in as the schema owner,
you can select * from ext_table from the Solaris console SQLPLUS,
but you can not select * from ext_table from the Windows workstation SQLPLUS.
You can DROP TABLE ext_table from the Windows workstation SQLPLUS.
You just cannot select * from ext_table from the Windows workstation SQLPLUS.
I guess as a test,
I can drop from the ext_table creation script the references
to discardfile, badfile, and logfile,
and remove this other file objects from the equation...
which appears to be a file permissions problem.

Similar Messages

  • How to create Oracle Table in DWB from Oracle external table

    Dear all,
    I have create Oracle External Table by using DWB. Kindly tell me steps that how could i able to import this external oracle table into internal oracle table now.
    When I deploye this External table message arise "Name is using by an existing object.
    any help would be ppreciated.
    Thanks

    In your database is there a table already existing with the same name as your external table? If there is then you can try and rename your external table in OWB and then deploy it again.
    Then you can create a mapping with your source as the External Table Operator and the target as a Table Operator. When you run the mapping the data from the external table will be imported into the oracle table.
    I hope this helps.
    Regards
    GB

  • How to  access the ORACLE APPS table structures from SAP

    Hi Experts,
        How to  access the ORACLE APPS table structures from SAP? Is it possible from SAP?
    Thanks in advance
    Thomas

    Hi Silviya,
    you can access this database using a technique called DB Multiconnect - sometimes written as multi-connect.
    Search the SAP documentation and notes for this term and you will find how to do it.
    Essentially you configure the remote database connection via transaction DBCON.
    If your SAP system is not running on Oracle you will need to install the db-specific kernel files for Oracle along with the Oracel db client software - SQL*Net.
    Then you can access the Oracle database from ABAP using native-SQL. It works a treat!
    Cheers
    Graham Robbo

  • Regarding the Usage of oracle external tables.

    HI All,
    I am using POI API for generating Oracle external tables. If that excel sheet is having empty sheets then its throwing null pointer exception. Can anybody help me out in resolving this problem.
    Thanks and Regards,
    Venky

    Do you use the technique described by Casimir Saternos in this OTN article?
    Generate External Tables from an Excel Spreadsheet Using Apache Jakarta POI
    http://www.oracle.com/technology/pub/articles/saternos_tables.html

  • How do you set up csv as an oracle external table

    How do you set up csv as an oracle external table?

    Hi,
    >>where do I specify which csv file to read from the external table..
    Please, read either the link provided by Andrew or the link that I have posted in my previous post.
    "# DEFAULT DIRECTORY - specifies the default location of files that are read or written by external tables. The location is specified with a directory object, not a directory path. See Location of Datafiles and Output Files for more information.
    # LOCATION - specifies the location of the external data. The location is specified as a list of directory objects and filenames. If the directory object is not specified, then the default directory object is used as the file location."
    Cheers
    Legatti

  • Teradat multiload script to oracle external table

    Hi
    Does anybody out there have a script handy that can semi-automate conversion of a teradata multiload script to oracle external table or sql loader.

    create table SYSTEM.C$_0STG_IN_FCST_PRS
         C5_LOC     VARCHAR2(12),
         C4_PRODUCT     VARCHAR2(10),
         C3_TIME     VARCHAR2(8),
         C2_SLS_UNT_PSDF     NUMBER(10),
         C1_FCST_RLS_DT     VARCHAR2(8)
    ORGANIZATION EXTERNAL
         TYPE ORACLE_LOADER
         DEFAULT DIRECTORY dat_dir
         ACCESS PARAMETERS
              RECORDS DELIMITED BY NEWLINE
              CHARACTERSET 'WE8ISO8859P1'
              STRING SIZES ARE IN CHARACTERS
              BADFILE          'rdf_psfc.txt_%a.bad'
              LOGFILE          'rdf_psfc.txt_%a.log'
              DISCARDFILE     'rdf_psfc.txt_%a.dsc'
              SKIP           0
              FIELDS
              MISSING FIELD VALUES ARE NULL
                   C5_LOC     POSITION(1:12),
                   C4_PRODUCT     POSITION(13:22),
                   C3_TIME     POSITION(23:30),
                   C2_SLS_UNT_PSDF     POSITION(31:40),
                   C1_FCST_RLS_DT     POSITION(41:48)
         LOCATION ('rdf_psfc.txt')
    PARALLEL
    REJECT LIMIT UNLIMITED
    NOLOGGING

  • Oracle ODBC Gateway SELECT from Sybase fails on large column

    OS: CentOS 5.8 64-bit
    DB: Oracle XE 11gR1 64-bit
    Gateway: Oracle Gateway for ODBC 64-bit
    Database and gateway reside on same Linux Server.
    Connecting to remote Sybase SQL Anywhere 10 server on WindowsXP.
    Using SQL Anywhere 11 odbc driver and unixODBC driver manager on Linux server.
    isql tool connects without any problems.
    One LISTENER, service for db and gateway on same port.
    ===================================
    Via SQL*Plus, the following error occurs....
    SQL> select * from mytable@dblink;
    select * from mytable@dblink
    ORA-02070: database dblink does not support outer joins in this context
    Gateway does not like the 'large' column which is varchar(3270) in length. Also it is the only
    column in the table that is a varchar.
    Take that column out and SELECT works fine.
    Here is the initdblink.ora file:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO=dblink
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL=255
    HS_LANGUAGE=american_america.we8iso8859p1
    HS_NLS_NCHAR=UTF-8
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    Please advise....
    Edited by: user601798 on Oct 17, 2012 7:09 AM
    Edited by: user601798 on Oct 17, 2012 7:09 AM
    Edited by: user601798 on Oct 17, 2012 7:13 AM

    Here is the trace file:
    Oracle Corporation --- THURSDAY OCT 18 2012 14:55:34.259
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- THURSDAY OCT 18 2012 14:55:34.259
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "dblink"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dblink
    Exiting hgogprd, rc=0
    hostmstr: 2056122368: HOA After hoagprd
    hostmstr: 2056122368: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2012/10/18-14:55:39
    Exiting hgolofn, rc=0 at 2012/10/18-14:55:39
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2012/10/18-14:55:40
    hostmstr: 2056122368: HOA After hoainit
    hostmstr: 2056122368: HOA Before hoalgon
    Entered hgolgon at 2012/10/18-14:55:40
    reco:0, name:dba, tflag:0
    Entered hgosuec at 2012/10/18-14:55:41
    Exiting hgosuec, rc=0 at 2012/10/18-14:55:41
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using dba as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2012/10/18-14:55:42
    HS_FDS_CONNECT_INFO = "dblink"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2012/10/18-14:55:43
    dsn:dblink, name:dba
    optn:
    Entered hgocip at 2012/10/18-14:55:43
    dsn:dblink
    Exiting hgocip, rc=0 at 2012/10/18-14:55:43
    ##>Connect Parameters (len=25)<##
    ## DSN=dblink;
    #! UID=dba;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2012/10/18-14:55:44
    Entered hgolosf at 2012/10/18-14:55:44
    ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFFFF 0x03FF 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0xFE00 0x3F5F
    Exiting hgolosf, rc=0 at 2012/10/18-14:55:46
    DriverName:DBODBC10.DLL, DriverVer:10.00.0001
    DBMS Name:SQL Anywhere, DBMS Version:10.00.0001
    Exiting hgocont, rc=0 at 2012/10/18-14:55:47
    SQLGetInfo returns N for SQL_CATALOG_NAME
    Exiting hgolgon, rc=0 at 2012/10/18-14:55:48
    hostmstr: 2027339776: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 2027339776: RPC Before Upload Caps
    hostmstr: 2027339776: HOA Before hoaulcp
    Entered hgoulcp at 2012/10/18-14:55:48
    Entered hgowlst at 2012/10/18-14:55:48
    Exiting hgowlst, rc=0 at 2012/10/18-14:55:49
    SQLGetInfo returns 0x1f for SQL_OWNER_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 128 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 128 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    3 instance capabilities will be uploaded
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 0
    Exiting hgoulcp, rc=0 at 2012/10/18-14:56:05
    hostmstr: 2026291200: HOA After hoaulcp
    hostmstr: 2026291200: RPC After Upload Caps
    hostmstr: 2026291200: RPC Before Upload DDTR
    hostmstr: 2026291200: HOA Before hoauldt
    Entered hgouldt at 2012/10/18-14:56:06
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2012/10/18-14:56:06
    hostmstr: 2026291200: HOA After hoauldt
    hostmstr: 2026291200: RPC After Upload DDTR
    hostmstr: 2026291200: RPC Before Begin Trans
    hostmstr: 2026291200: HOA Before hoabegn
    Entered hgobegn at 2012/10/18-14:56:06
    tflag:0 , initial:1
    hoi:0x12f094, ttid (len 27) is ...
    00: 44415441 5748442E 65623465 33343931 [DATAWHD.eb4e3491]
    10: 2E322E36 322E3839 363837 [.2.62.89687]
    tbid (len 24) is ...
    00: 44415441 5748445B 322E3632 2E383936 [DATAWHD[2.62.896]
    10: 38375D5B 312E345D [87][1.4]]
    Exiting hgobegn, rc=0 at 2012/10/18-14:56:08
    hostmstr: 2026291200: HOA After hoabegn
    hostmstr: 2026291200: RPC After Begin Trans
    hostmstr: 2026291200: RPC Before Describe Table
    hostmstr: 2026291200: HOA Before hoadtab
    Entered hgodtab at 2012/10/18-14:56:08
    count:1
    table: RSCCC.SR_SPEC_PGM_SPEC_ED
    Allocate hoada[0] @ 025B799C
    Entered hgopcda at 2012/10/18-14:56:12
    Column:1(SCH_YR): dtype:12 (VARCHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:13
    Entered hgopcda at 2012/10/18-14:56:13
    Column:2(CAMPUS_ID): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:13
    Entered hgopcda at 2012/10/18-14:56:14
    Column:3(STU_ID): dtype:12 (VARCHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:14
    Entered hgopcda at 2012/10/18-14:56:14
    Column:4(DT_ENTRY_STU): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:14
    Entered hgopcda at 2012/10/18-14:56:15
    Column:5(PRI_HANDI_IND): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:15
    Entered hgopcda at 2012/10/18-14:56:15
    Column:6(INSTRUCT_SET_CD): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:16
    Entered hgopcda at 2012/10/18-14:56:16
    Column:7(SPEECH_THRPY_IND): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:16
    Entered hgopcda at 2012/10/18-14:56:17
    Column:8(DT_WD): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:17
    Entered hgopcda at 2012/10/18-14:56:17
    Column:9(DT_ENTRY_STU_RECIP): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:18
    Entered hgopcda at 2012/10/18-14:56:18
    Column:10(WD_RSN_CD): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:18
    Entered hgopcda at 2012/10/18-14:56:19
    Column:11(VOC_HRS_ELIG): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:19
    Entered hgopcda at 2012/10/18-14:56:19
    Column:12(REG_DAY_SCH_PGM_DEAF): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:19
    The hoada for table RSCCC.SR_SPEC_PGM_SPEC_ED follows...
    hgodtab, line 904: Printing hoada @ 025B799C
    MAX:12, ACTUAL:12, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 4 4 0/ 0 0 0 200 SCH_YR
    12 VARCHAR N 3 3 0/ 0 0 0 200 CAMPUS_ID
    12 VARCHAR N 6 6 0/ 0 0 0 200 STU_ID
    12 VARCHAR N 8 8 0/ 0 0 0 200 DT_ENTRY_STU
    12 VARCHAR N 2 2 0/ 0 0 0 200 PRI_HANDI_IND
    12 VARCHAR N 2 2 0/ 0 0 0 200 INSTRUCT_SET_CD
    12 VARCHAR N 1 1 0/ 0 0 0 200 SPEECH_THRPY_IND
    12 VARCHAR N 8 8 0/ 0 0 0 200 DT_WD
    12 VARCHAR N 8 8 0/ 0 0 0 200 DT_ENTRY_STU_RECIP
    12 VARCHAR N 2 2 0/ 0 0 0 200 WD_RSN_CD
    12 VARCHAR N 1 1 0/ 0 0 0 200 VOC_HRS_ELIG
    12 VARCHAR N 1 1 0/ 0 0 0 200 REG_DAY_SCH_PGM_DEAF
    Exiting hgodtab, rc=0 at 2012/10/18-14:56:22
    hostmstr: 2026291200: HOA After hoadtab
    hostmstr: 2026291200: HOA Before hoadafr
    Entered hgodafr, cursor id 0 at 2012/10/18-14:56:23
    Free hoada @ 025B799C
    Exiting hgodafr, rc=0 at 2012/10/18-14:56:23
    hostmstr: 2026291200: HOA After hoadafr
    hostmstr: 2026291200: RPC After Describe Table
    hostmstr: 2026291200: RPC Before Describe Table
    hostmstr: 2026291200: HOA Before hoadtab
    Entered hgodtab at 2012/10/18-14:56:23
    count:1
    table: RSCCC.SR_DISCPLN
    Allocate hoada[0] @ 025B799C
    Entered hgopcda at 2012/10/18-14:56:27
    Column:1(SCH_YR): dtype:12 (VARCHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:28
    Entered hgopcda at 2012/10/18-14:56:28
    Column:2(STU_ID): dtype:12 (VARCHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:28
    Entered hgopcda at 2012/10/18-14:56:29
    Column:3(OFENS_STAMP): dtype:12 (VARCHAR), prc/scl:27/0, nullbl:0, octet:27, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:29
    Entered hgopcda at 2012/10/18-14:56:29
    Column:4(OFENS_TIME): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:29
    Entered hgopcda at 2012/10/18-14:56:30
    Column:5(CAMPUS_ID): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:30
    Entered hgopcda at 2012/10/18-14:56:30
    Column:6(DT_OFENS): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:30
    Entered hgopcda at 2012/10/18-14:56:31
    Column:7(MODIFIER): dtype:12 (VARCHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:31
    Entered hgopcda at 2012/10/18-14:56:31
    Column:8(OFENS_SEMCYC): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:32
    Entered hgopcda at 2012/10/18-14:56:32
    Column:9(REP_BY): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:32
    Entered hgopcda at 2012/10/18-14:56:33
    Column:10(REP_BY_NAME_F): dtype:12 (VARCHAR), prc/scl:17/0, nullbl:0, octet:17, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:33
    Entered hgopcda at 2012/10/18-14:56:33
    Column:11(REP_BY_NAME_L): dtype:12 (VARCHAR), prc/scl:25/0, nullbl:0, octet:25, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:33
    Entered hgopcda at 2012/10/18-14:56:34
    Column:12(INC_LOC): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:34
    Entered hgopcda at 2012/10/18-14:56:35
    Column:13(COURSE): dtype:12 (VARCHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:35
    Entered hgopcda at 2012/10/18-14:56:35
    Column:14(SECTION): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:35
    Entered hgopcda at 2012/10/18-14:56:36
    Column:15(CRS_TITLE): dtype:12 (VARCHAR), prc/scl:15/0, nullbl:0, octet:15, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:36
    Entered hgopcda at 2012/10/18-14:56:36
    Column:16(PERIOD): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:36
    Entered hgopcda at 2012/10/18-14:56:37
    Column:17(INSTR): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:37
    Entered hgopcda at 2012/10/18-14:56:37
    Column:18(PARENT_CONTACT): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:37
    Entered hgopcda at 2012/10/18-14:56:38
    Column:19(CONTACT_DT): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:38
    Entered hgopcda at 2012/10/18-14:56:38
    Column:20(CONF_REQUESTED): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:38
    Entered hgopcda at 2012/10/18-14:56:39
    Column:21(CONF_DATE): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:39
    Entered hgopcda at 2012/10/18-14:56:39
    Column:22(INFORMAL_HEARING): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:39
    Entered hgopcda at 2012/10/18-14:56:40
    Column:23(APPEAL_EXP): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:40
    Entered hgopcda at 2012/10/18-14:56:40
    Column:24(WITNESS): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:41
    Entered hgopcda at 2012/10/18-14:56:41
    Column:25(DISCPLN_COMM): dtype:12 (VARCHAR), prc/scl:3270/0, nullbl:0, octet:3270, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:41
    Entered hgopcda at 2012/10/18-14:56:42
    Column:26(ADMIN_BY): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:42
    Entered hgopcda at 2012/10/18-14:56:42
    Column:27(ADMIN_BY_NAME_F): dtype:12 (VARCHAR), prc/scl:17/0, nullbl:0, octet:17, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:42
    Entered hgopcda at 2012/10/18-14:56:43
    Column:28(ADMIN_BY_NAME_L): dtype:12 (VARCHAR), prc/scl:25/0, nullbl:0, octet:25, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:43
    Entered hgopcda at 2012/10/18-14:56:43
    Column:29(REPORTED_BY_DESC): dtype:12 (VARCHAR), prc/scl:60/0, nullbl:0, octet:60, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:43
    Entered hgopcda at 2012/10/18-14:56:44
    Column:30(INCIDENT_NUM): dtype:12 (VARCHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:44
    Entered hgopcda at 2012/10/18-14:56:44
    Column:31(REPORT_PD): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:45
    The hoada for table RSCCC.SR_DISCPLN follows...
    hgodtab, line 904: Printing hoada @ 025B799C
    MAX:31, ACTUAL:31, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 4 4 0/ 0 0 0 200 SCH_YR
    12 VARCHAR N 6 6 0/ 0 0 0 200 STU_ID
    12 VARCHAR N 27 27 0/ 0 0 0 200 OFENS_STAMP
    12 VARCHAR N 8 8 0/ 0 0 0 200 OFENS_TIME
    12 VARCHAR N 3 3 0/ 0 0 0 200 CAMPUS_ID
    12 VARCHAR N 8 8 0/ 0 0 0 200 DT_OFENS
    12 VARCHAR N 10 10 0/ 0 0 0 200 MODIFIER
    12 VARCHAR N 2 2 0/ 0 0 0 200 OFENS_SEMCYC
    12 VARCHAR N 3 3 0/ 0 0 0 200 REP_BY
    12 VARCHAR N 17 17 0/ 0 0 0 200 REP_BY_NAME_F
    12 VARCHAR N 25 25 0/ 0 0 0 200 REP_BY_NAME_L
    12 VARCHAR N 3 3 0/ 0 0 0 200 INC_LOC
    12 VARCHAR N 4 4 0/ 0 0 0 200 COURSE
    12 VARCHAR N 2 2 0/ 0 0 0 200 SECTION
    12 VARCHAR N 15 15 0/ 0 0 0 200 CRS_TITLE
    12 VARCHAR N 2 2 0/ 0 0 0 200 PERIOD
    12 VARCHAR N 3 3 0/ 0 0 0 200 INSTR
    12 VARCHAR N 1 1 0/ 0 0 0 200 PARENT_CONTACT
    12 VARCHAR N 8 8 0/ 0 0 0 200 CONTACT_DT
    12 VARCHAR N 1 1 0/ 0 0 0 200 CONF_REQUESTED
    12 VARCHAR N 8 8 0/ 0 0 0 200 CONF_DATE
    12 VARCHAR N 1 1 0/ 0 0 0 200 INFORMAL_HEARING
    12 VARCHAR N 1 1 0/ 0 0 0 200 APPEAL_EXP
    12 VARCHAR N 1 1 0/ 0 0 0 200 WITNESS
    12 VARCHAR N 3270 3270 0/ 0 0 0 200 DISCPLN_COMM
    12 VARCHAR N 3 3 0/ 0 0 0 200 ADMIN_BY
    12 VARCHAR N 17 17 0/ 0 0 0 200 ADMIN_BY_NAME_F
    12 VARCHAR N 25 25 0/ 0 0 0 200 ADMIN_BY_NAME_L
    12 VARCHAR N 60 60 0/ 0 0 0 200 REPORTED_BY_DESC
    12 VARCHAR N 6 6 0/ 0 0 0 200 INCIDENT_NUM
    12 VARCHAR N 1 1 0/ 0 0 0 200 REPORT_PD
    Exiting hgodtab, rc=0 at 2012/10/18-14:56:50
    hostmstr: 2026291200: HOA After hoadtab
    hostmstr: 2026291200: HOA Before hoadafr
    Entered hgodafr, cursor id 0 at 2012/10/18-14:56:50
    Free hoada @ 025B799C
    Exiting hgodafr, rc=0 at 2012/10/18-14:56:50
    hostmstr: 2026291200: HOA After hoadafr
    hostmstr: 2026291200: RPC After Describe Table
    hostmstr: 2026291200: RPC Before Rollback Trans
    hostmstr: 2026291200: HOA Before hoaroll
    Entered hgoroll at 2012/10/18-14:56:51
    tflag:1 , cmt(0):
    hoi:0x12f098, ttid (len 27) is ...
    00: 44415441 5748442E 65623465 33343931 [DATAWHD.eb4e3491]
    10: 2E322E36 322E3839 363837 [.2.62.89687]
    tbid (len 24) is ...
    00: 44415441 5748445B 322E3632 2E383936 [DATAWHD[2.62.896]
    10: 38375D5B 312E345D [87][1.4]]
    Entered hgocpctx at 2012/10/18-14:56:52
    Exiting hgocpctx, rc=0 at 2012/10/18-14:56:52
    Exiting hgoroll, rc=0 at 2012/10/18-14:56:52
    hostmstr: 2026291200: HOA After hoaroll
    hostmstr: 2026291200: RPC After Rollback Trans
    Please advise and thanks..

  • System getting hanged whilst using Insert into table select * from table

    I have a peculiar problem.
    I am using the below statements:
    Query 1:
    insert into table ppms.erin_out@ppms_dblink select * from erin_out;
    Query 2:
    insert into table ppms.erin_out@ppms_dblink values(23,'dffgg',12',dfdfdgg,dfdfdg);
    I am in 'interfaces' schema (testing server) and executing above statements. We have testing server and development server, both are identical, i.e one is clone of the other.
    ppms_dblink is created in interfaces schema. ppms_dblink points to different database server which has two schemas 'clarity' and 'ppms'. ppms_dblink is create through authentication details of clarity schema.
    erin_out table is created on ppms schema on the same dababase server pointed by ppms_dblink.
    Question is :
    TOAD hangs while running query 1.
    Query 2 is working perfectly.
    As I have pl/sql script which is using query 1. I want to know why query 1 is creating problem.
    If I use query 2 in my pl/sql query then it may create performance issue as i have to use cursor then.
    On clarity schema, I have insert, update, select, modify rights on ppms.erin_out.
    I have tried same queries from another database server.
    That is I tried queries from 'interfaces' schema of development server ( clone of the testing server ). Its working perfectly.
    Message was edited by:
    user484158

    Dhanchik:
    The table from which I select rows, to insert into table on dblink, is having only one record. It may contatin maximum 100 rows at a time because I am scheduling the procedure through daemon process. Anyway transaction is not more than 100 records. I am trying with just 1 record for testing.
    So 1) Problem is not about the cost, TOAD is getting hanged ( to insert 1 record, cost does not mean much)
    2) there is no large amount of data, so no question of deteriorated performance
    Aron Tunzi:
    I think that should not be problem, because I am able to insert a record through query 2.
    Warren Tolentino :
    I am testing with 1 record only. Its not performance issue.
    Message was edited by:
    &#2352;&#2330;&#2367;&#2340;

  • Dynamic table  selection from database

    Hi ;
    I want to create  variable field that I will use at database selection.I tried to do it with   select *  from ( tabname )..... but I couldn't do it how you any offer fot this issue.

    Hi,
    DATA FCAT1 TYPE LVC_T_FCAT."fieldcat of type internal table
    DATA:DYN_ITAB TYPE REF TO DATA,"holding the dynamic internal table
    WA TYPE REF TO DATA."holding the wa for dynamic internal table
    FIELD-SYMBOLS: <DISP_TABLE> TYPE TABLE,
    <WA> TYPE ANY.
    SELECT SINGLE tab_name FROM table INTO DB_TABLE.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
            EXPORTING
              I_STRUCTURE_NAME = DB_TABLE
            CHANGING
              CT_FIELDCAT      = FCAT1[].
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE"creating dynamic internal table using fieldcat
        EXPORTING
        IT_FIELDCATALOG = FCAT1[]
        IMPORTING
        EP_TABLE = DYN_ITAB.
        ASSIGN DYN_ITAB->* TO <DISP_TABLE>."creating internal table by refering the dynamically generated internal table structure
        CREATE DATA WA LIKE LINE OF <DISP_TABLE>."creating work area for the internal table
        ASSIGN WA->* TO <WA>.
        SELECT * FROM (DB_TABLE) INTO <WA> UP TO MAX_HITS ROWS."filling the internal table
        APPEND <WA> TO <DISP_table>.
        ENDSELECT.
    <b>REWARD ALL HELPFUL ANSWERS.</b>
    rgds,
    bharat.
    Message was edited by:
            Bharat Kalagara

  • Error while creating oracle external table

    I am trying to create an external table with the following syntax. WhenI have executed this statement in my server which running in my machine, it is working fine. Whine I try to run the same statement on different server, it is giving the below error. I have verified the grants on both the schemas, they are simillar.
    create table ext_ORGBASIC_CLIENT1(
    Serial_Number varchar2(1000),
    Add_Edit_Organization varchar2(1000),
    Parent_Organization varchar2(1000),
    Organization_Code varchar2(1000),
    Organization_Name varchar2(1000),
    Legal_Entity varchar2(1000),
    Active varchar2(1000),
    Require_Entity_Use__as_Matchin varchar2(1000),
    Pass_On_Tax_On_Tax_To_Customer varchar2(1000),
    Allow_Exemption_Without_Receiv varchar2(1000),
    Entiy_Use_Code_Association varchar2(1000),
    Tax_Calculation_Type_Code varchar2(1000),
    Transaction_Type_Code varchar2(1000),
    Transaction_Source_Code varchar2(1000),
    Taxware_Delivery_Terms_Code varchar2(1000),
    Taxware_Mode_of_Transport_Code varchar2(1000),
    Debit_Credit_Indicator varchar2(1000),
    Discount_Type_Code varchar2(1000),
    Place_of_Principal_Negotiation varchar2(1000),
    Quantity_Unit_of_Measure_Code varchar2(1000),
    Good_Service_Category_Code varchar2(1000),
    Tax_Rate_Of_Geo_Code_To_Be_Aut varchar2(1000))
    organization external
    ( type oracle_loader default directory EXT_TAB_DIR
    access parameters ( records delimited by newline characterset US7ASCII load
    when (serial_number != 'Number' and serial_number != '#')
    badfile 'EXT_TAB_DIR':'CLIENT1.bad'
    logfile 'EXT_TAB_DIR':'CLIENT1.log'
    fields terminated by ',' optionally enclosed by '"' lrtrim missing field values are null
    reject rows with all null fields )
    location ('C_CLIENT1_TXWR_FS1_TWEBULK_ORGBASIC_1_1_20091126102230_001_CSV.csv') )
    parallel reject limit unlimited
    while querieng from the table I am getting the below error
    select * from ext_orgbasic_client1;
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04001: error opening file CLIENT1.log
    ORA-06512: at "SYS.ORACLE_LOADER", line 19

    I try to run the same statement on different server, it is giving the below errorSame OS name & version?
    Same Oracle version to 4 decimal places?
    Same OS file permissions?
    Same OS pathnames?

  • ORA-01843: not a valid month, external table select fails on date column

    Hi,
    I created an external table as follows:
    CREATE OR REPLACE DIRECTORY sales_feeds AS '/backup/oracle/feeds';
    Directory created.
    CREATE TABLE salesfeed_external_table
              PROD_ID               NUMBER
            , CUST_ID               NUMBER
            , TIME_ID               DATE
            , CHANNEL_ID            NUMBER
            , PROMO_ID              NUMBER
            , QUANTITY_SOLD         NUMBER(10,2)
            , AMOUNT_SOLD           NUMBER(10,2)
    ORGANIZATION EXTERNAL
            TYPE ORACLE_LOADER
            DEFAULT DIRECTORY sales_feeds
            ACCESS PARAMETERS
                    RECORDS DELIMITED BY newline
                    FIELDS TERMINATED BY ','
            LOCATION ('salesfeed.dat')
    REJECT LIMIT 0
    Table created.I then create that external flat file salesfeed.dat as folows
    set echo off
    set feedback off
    set linesize 100
    set pagesize 0
    set head off
    set sqlprompt ''
    set trimspool on
    spool on
    spool /backup/oracle/feeds/salesfeed.dat
    select PROD_ID||','||CUST_ID||','||TIME_ID||','||CHANNEL_ID||','||PROMO_ID||','||QUANTITY_SOLD||','||AMOUNT_SOLD
    FROM salesfeed where rownum = 1;
    spool off
    exit
    cat salesfeed.dat
    18,3131,21/03/1998 00:00:00,3,999,1,2600.76Note only one row at the moment (diagonising)
    Try to read it
    select * from salesfeed_external_table
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-30653: reject limit reachedThe log shows:
    cat SALESFEED_EXTERNAL_TABLE_1302.log
    LOG file opened at 11/24/11 12:16:02
    Field Definitions for table SALESFEED_EXTERNAL_TABLE
      Record format DELIMITED BY NEWLINE
      Data in file has same endianness as the platform
      Rows with all null fields are accepted
      Fields in Data Source:
        PROD_ID                         CHAR (255)
          Terminated by ","
          Trim whitespace same as SQL Loader
        CUST_ID                         CHAR (255)
          Terminated by ","
          Trim whitespace same as SQL Loader
        TIME_ID                         CHAR (255)
          Terminated by ","
          Trim whitespace same as SQL Loader
        CHANNEL_ID                      CHAR (255)
          Terminated by ","
          Trim whitespace same as SQL Loader
        PROMO_ID                        CHAR (255)
          Terminated by ","
          Trim whitespace same as SQL Loader
        QUANTITY_SOLD                   CHAR (255)
          Terminated by ","
          Trim whitespace same as SQL Loader
        AMOUNT_SOLD                     CHAR (255)
          Terminated by ","
          Trim whitespace same as SQL Loader
    error processing column TIME_ID in row 1 for datafile /backup/oracle/feeds/salesfeed.dat
    ORA-01843: not a valid monthI checked my nls date format etc:
    select * from nls_session_parameters;
    PARAMETER                      VALUE
    NLS_LANGUAGE                   ENGLISH
    NLS_TERRITORY                  UNITED KINGDOM
    NLS_CURRENCY                   £
    NLS_ISO_CURRENCY               UNITED KINGDOM
    NLS_NUMERIC_CHARACTERS         .,
    NLS_CALENDAR                   GREGORIAN
    NLS_DATE_FORMAT                DD/MM/YYYY HH24:MI:SS
    NLS_DATE_LANGUAGE              ENGLISH
    NLS_SORT                       BINARY
    NLS_TIME_FORMAT                HH24.MI.SSXFF
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH24.MI.SSXFF
    NLS_TIME_TZ_FORMAT             HH24.MI.SSXFF TZR
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH24.MI.SSXFF TZR
    NLS_DUAL_CURRENCY              ¤
    NLS_COMP                       BINARY
    NLS_LENGTH_SEMANTICS           BYTE
    NLS_NCHAR_CONV_EXCP            FALSEAny ideas?
    Thanks,
    Mich
    Edited by: Mich Talebzadeh on 24-Nov-2011 04:19

    Thanks
    The following now works
    CREATE TABLE salesfeed_external_table
              PROD_ID               NUMBER
            , CUST_ID               NUMBER
            , TIME_ID               DATE
            , CHANNEL_ID            NUMBER
            , PROMO_ID              NUMBER
            , QUANTITY_SOLD         NUMBER(10,2)
            , AMOUNT_SOLD           NUMBER(10,2)
    ORGANIZATION EXTERNAL
            TYPE ORACLE_LOADER
            DEFAULT DIRECTORY sales_feeds
            ACCESS PARAMETERS
                    RECORDS DELIMITED BY newline
                    FIELDS TERMINATED BY ','
                    MISSING FIELD VALUES ARE NULL
                    (         PROD_ID
                            , CUST_ID
                            , TIME_ID DATE  'dd/mm/yyyy HH24:MI:SS'
                            , CHANNEL_ID
                            , PROMO_ID
                            , QUANTITY_SOLD
                            , AMOUNT_SOLD
            LOCATION ('salesfeed.dat')
    REJECT LIMIT 0
    select * from salesfeed_external_table;
       PROD_ID    CUST_ID TIME_ID             CHANNEL_ID   PROMO_ID QUANTITY_SOLD AMOUNT_SOLD
            18       3131 21/03/1998 00:00:00          3        999             1     2600.76Regards,
    Mich

  • RMU Binary Unload to Oracle External Tables (Datatype matching)

    We tried to load binary RMU-UNLOAD files into OracleOracle which we decided to implement (as a first approach) using external tables. This works except for Fload and Double Data Fields, because we don't know how to convert this data.
    create table rdbunload_file ( -- RDBfieldtype
    int_8bit number, -- tinyint
    int16bit number, -- smallint
    int32bit number, -- integer
    int64bit number, -- bigint
    dt_ansi number, -- date ansi
    dt_vms number, -- date vms
    ts_2 number, -- timestamp(2)
    c10 varchar2(10) -- varchar(10) / char(10)
    organization external (
    type oracle_loader
    default directory superdbadir
    access parameters (
    Records delimited by newline
    fields (
    int_8bit position(1) integer(1),
    int16bit position(2) integer(2),
    int32bit position(4) integer,
    int64bit position(8) integer(8),
    dt_ansi position(16) integer(8),
    dt_vms position(24) integer(8),
    ts_2 position(32) integer(8),
    c10 position(40) char(10) )
    location ('UNL4ORCL.UNL')
    reject limit unlimited;
    CREATE OR REPLACE VIEW v_rdbunload_file AS
    SELECT int_8bit,
    int16bit,
    int32bit,
    int64bit,
    to_date('17-NOV-1858', 'DD-MON-YYYY') + dt_ansi / 10000000 / 24 / 60 / 60 dateansi,
    to_date('17-NOV-1858', 'DD-MON-YYYY') + dt_vms / 10000000 / 24 / 60 / 60 datevms,
    to_date('17-NOV-1858', 'DD-MON-YYYY') + ts_2 / 10000000 / 24 / 60 / 60 ts_2,
    c10
    FROM rdbunload_file;
    Is there a cookbook for Float ad Double?
    Thomas Lieber

    What I usually do in situations like this is that I connect to the database using a sql client and the same connection information as I specified to OIM and see if the attribute is present.
    Perhaps you got the wrong db name? Or schema name?
    Everything looks good so most probably there simply is some little typo somewhere.
    Hope this helps
    /Martin

  • OWB Mapping involving Oracle External Table to  Oracle Target Table.

    Hi All,
    I created a mapping which involves External Table as source & oracle table as target.
    Following were steps followed.
    1> Created Directory & External Table on oracle server
    2> Attached Text file with ',' delimiter to the External Table.
    3> Imported the External Table in source module.
    4> Created mapping which involves External Table as Source & Oracle Table as Target.
    5> Validated & Generated Mapping in OWB.
    6> Deployed the mapping in Deployment Manager.
    7> Executed the mapping in Deployment Manager.
    Execution Results: Completed with errors.
    No error message is displayed, I am wondering where can I get more information about the error message?
    Thanks in Advance.
    Regards,
    Vidyanand

    Hi,
    Look in the logfile <your runtime owner>.log.* under the directory <owb home>/owb/log
    thanks

  • How insert into table select from table works in jdbc driver?

    Hi, Supposing one table has two LOB fields, one LOB field is BLOB type while the other is CLOB type, I use the following sql statement to copy a row into a new row:
    insert into table (id, file_body, file_content) select new_id, file_body, file_content from table where id = '111';
    After commit on the connection, I can see the copied record in the table and both LOB fields are not null and this's the expected behavior.
    However after some days later, the copy function becomes to be a problem, the BLOB field named file_body can be null when the copy job is done, while other fields copy successfully.
    The issue can not be reproduced every time.
    I suppose the jdbc driver may try to allocate byte buffer in the heap to perform copy operation for BLOB fields,if there is no enough memory available in the heap the copy operation may fail but the commit on the connection can be successful.b/c I can see a lot of OOM errors in the log files and I believe this can contribute to the issue.
    Hope someone can give me a hint or comments.
    Thanks,
    SuoNayi

    I want to figure out what's memory leak point and I have tried the following solutions but none worked:
    1.I have tried to dump the memory of the JVM but failed,I can see the following errors :
    [root@localhost xxx]# jmap -heap:format=b 3027
    Attaching to process ID 3027, please wait...
    Debugger attached successfully.
    Server compiler detected.
    JVM version is 1.5.0_16-b02
    Unknown oop at 0x00002b21a24cd550
    Oop's klass is null
    Finding object size using Printezis bits and skipping over...
    Unknown oop at 0x00002b21a3634380
    Oop's klass is null
    Finding object size using Printezis bits and skipping over...
    2.and the thread stack can not be dumped successfully as well:
    Thread 3046: (state = BLOCKED)
    - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)
    Error occurred during stack walking:
    the version of java is:
    java version "1.5.0_16"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-b02, mixed mode)
    I have to added dump thread stack option in JVM arguments, -XX:+HeapDumpOnOutOfMemoryError.
    If there are other solutions please let me know, thanks.

  • NEED HELP - - Inputting data files into a table, Selecting from previous to put in new table, Saving new table

    I am trying to import data characters from a tab delimited file into a table in labview.  After I import the strings, I want to be able to select individual strings from the table and put into another table.  I want the item that I am selecting to appear in a text box labeled 'selected step'.  After I put all of the selected data in the new table, I want to be able to save that table in another tab delimited file (spreadsheet).  This is what I have so far.  Any help given will be GREATLY appreciated. 
    Attachments:
    Selector.zip ‏30 KB

    Hi,
         Here are modifications to your vi to do what you are describing. It helps, when trying to work through issues like these on this forum to not start a new thread with each iteration of your question. Those of us that are trying to help can follow it better if you just "Reply" to your previous thread with the new, related question. If the question is for a totally new issue then a new thread is best, but when you are working through the details of essentially the same problem it really helps us follow it if you stay in one thread, and that usually means faster answers.
    We also like it if, when an answer helps, you give us a rating (the more stars the better) as it is about all we get out of it!
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion
    Attachments:
    SelectorV2.zip ‏30 KB

Maybe you are looking for

  • Can't connect to database or Database Home Page (after installation)

    sorry that i have to make another thread for this problem, but i didnt found an equal problem to mine. after installing oracleXE 10, i get an error message in my firefox, if want to start 127.0.0.1:8080/apex. i have win xp pro. in command line i trye

  • CRM 5.0 BP - Account Fact Sheet session pass to R/3 transaction iView

    I am using CRM 5.0 business package in EP 7.0 and I am customizing the "Sales Representative" CRM role in Portal. <b>Scenario:</b> I navigate the 'Account Management - Overview' and select an account. Then I navigate to the 'Fact Sheet' link and I ca

  • Samsung LED smart TV WiFi connection problems (router MI424WR)

    I am able to connect my Samsung C9000 55" LED smart TV to my home internet router (MI424WR) and am able to use the apps on the TV.  Then, out of nowhere the connection is lost.  The router is on the second floor of my home, and the TV is located in m

  • Make Vendor Classification characteristics mandatory

    All, We have a vendor classification class and a characteristic. We have defined this characteristic as mandatory in transaction CT04. However when I create or change a vendor (transaction XK01/XK02) and go into classification I am still able to save

  • Dynamic partnerlinks using a wrapped wsdl

    Hi all, My current situation is as follows: Im using a webservice which doesn't define partnerlinks and as a result I've created a new wsdl which wraps the original webservice. In the wrapping wsdl I've defined the missing partnerlink. In the bpel.xm