Replicat  : GGS ERROR    171  Unknown data type received 0x54 49 .

I am trying to run an initial load as shown in the tutorial at http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/11g/GGS_Sect_Config_WinUX_ORA_to_WinUX_ORA.pdf and I am seeing this error in the REPLICAT process.
I have tried using the SOURCEDEFS clause as well (Even though the source and Target structures are exactly similar), but I run into the same issue.
** Run Time Messages **
*2011-04-14 12:02:15 GGS ERROR 171 Unknown data type received <0x54 49>.*
The only other Indication that I see in the report file is the following Warning message
*2011-04-14 12:02:15 GGS WARNING 201 Rounding up LOBWRITESIZE 32528 to be a multiple of LOB chunk size (16324).*
LOBWRITESIZE = 32648 bytes.
Here are the other details. If you need any more information, please let me know
GoldenGate Delivery for Oracle
Version v9.5.1.31 Build 003
HP-UX 11.23 (optimized 64-bit), Oracle 10g on Jun 24 2008 13:43:23
Copyright GoldenGate Software, Inc. 1995-2008
Starting at 2011-04-14 12:02:09
Database Version:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for HPUX: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
I'd appreciate any advice on fixing this issue.
Thanks,
Rajesh.

Looks like the error is because we have ASM set up at our place.. and I did not pay enough attention to this part of the tutorial Guide..
Note: When Oracle Automatic Storage Management (ASM) is in use, the TRANLOGOPTIONS ASMUSER and ASMPASSWORD must be set in the Extract parameter file. For more information refer to the GoldenGate for Windows & UNIX Administrator and Reference manuals.
Posting the reply here so that It'd be useful for anyone running into the same issue later.
Cheers!
Rajesh.

Similar Messages

  • [BUG]rb_gc_mark() unknown data type 0x0(0x1810340) non object Error

    I reference Sigar in my code, like this
          sigar = Sigar.new
          fs_list = sigar.file_system_list
    It occur error when sigar call file_system_list method,
    the error decription :
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28: [BUG] rb_gc_mark(): unknown data type 0x10(0x1ca9920) non object
    ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
    -- Control frame information -----------------------------------------------
    c:0018 p:---- s:0075 b:0075 l:000074 d:000074 CFUNC  :file_system_list
    c:0017 p:0029 s:0072 b:0072 l:000071 d:000071 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28
    c:0016 p:0017 s:0064 b:0062 l:000061 d:000061 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:14
    c:0015 p:0063 s:0056 b:0056 l:000055 d:000055 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:60
    c:0014 p:0093 s:0046 b:0044 l:000043 d:000043 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:26
    c:0013 p:0062 s:0041 b:0041 l:000040 d:000040 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:32
    c:0012 p:0009 s:0037 b:0037 l:000a10 d:000036 BLOCK  /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:19
    c:0011 p:---- s:0035 b:0035 l:000034 d:000034 FINISH
    c:0010 p:---- s:0033 b:0033 l:000032 d:000032 CFUNC  :call
    c:0009 p:0025 s:0030 b:0030 l:000029 d:000029 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51
    c:0008 p:---- s:0027 b:0027 l:000026 d:000026 FINISH
    c:0007 p:---- s:0025 b:0025 l:000024 d:000024 CFUNC  :call
    c:0006 p:---- s:0023 b:0023 l:000022 d:000022 CFUNC  :run_machine
    c:0005 p:0248 s:0020 b:0020 l:000019 d:000019 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256
    c:0004 p:0129 s:0013 b:0013 l:000db0 d:000db0 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/runner.rb:45
    c:0003 p:0206 s:0009 b:0009 l:002148 d:001660 EVAL   /var/vcap/packages/cloud_agent/bin/cloud_agent:29
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:002148 d:002148 TOP
    -- Ruby level backtrace information ----------------------------------------
    /var/vcap/packages/cloud_agent/bin/cloud_agent:29:in `<main>'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/runner.rb:45:in `run'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51:in `fire'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51:in `call'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:19:in `block in enable'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:32:in `beat'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:26:in `send_via_mbus'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:60:in `heartbeat_payload'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:14:in `get_usage'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28:in `fs_usage_safe'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28:in `file_system_list'
    -- C level backtrace information -------------------------------------------
    *** glibc detected *** ruby: malloc(): smallbin double linked list corrupted: 0x0000000001b7c260 ***
    sometimes it happen and sometimes not,the versiong of sigar is 0.7.2,ruby is 1.9.3p448, i could solve this probelm  although i spent some days on this probem.
    i will appericate you suggestion

    I thik it is connected with Garbage Collector,I Close the GC(GC.disable),then i create a Sigar object,continuly, i open GC(GC.enable),it seem that it work well now,is there some wrong with the Sigar Gem package?

  • Unknown TCM Type Received Error...

    Been getting the following error...
    <WTC> <ibiserver> <> <> <180094> <Unknown TCM type received: 0>
    while trying to do a tpgetreply on a calldescriptor value got.
    Let me know if any of you encountered this error before.
    Thanks,
    Aravind.

    Bob,
    Thanks for your help. I was able to fix the problem.
    The problem was coming because of the way we populated the occurrances in the
    FML key.
    Looks like we cannot populate the FML Keys with occurrance 1 or 2 without populating
    the FML Key with occurrance 0 for a particular FML Key.
    So, here is what I did. I made sure in my component that FML Key and Value for
    a particular key with Occurance 0 is populated before I populate the FML Key and
    values for occurances like 1 or 2.
    - Aravind.
    Bob Finan <[email protected]> wrote:
    Aravind,
    There are a several ways that this can occur. Two that
    might be are:
    1) Your tux side is version 7.1 but does not have the
    required patch(level 58 or greater) for running security
    with WTC.
    2) Your Tux side is sending a buffer with an invalid type
    or subtype.
    Bob Finan
    Aravind wrote:
    Been getting the following error...
    <WTC> <ibiserver> <> <> <180094> <Unknown TCM type received: 0>
    while trying to do a tpgetreply on a calldescriptor value got.
    Let me know if any of you encountered this error before.
    Thanks,
    Aravind.

  • Replication - Error with real data type

    Hi Everybody,
    I have a replication problem on a certain SQL Server 2012 build 2100. First of all:
    - Tables are the same on Publisher and Subscriber (double-checked)
    The problem is 8152 - String or binary would be truncated. Since I know this error, I looked for the command (xact_seqno) and it shows:
    {CALL [sp_MSins_tbl2Replicate]
    ({7B914E3E-25ED-E411-BC82-005056A54F21}
    ,{BA54EA41-ECE1-4F4B-7A63-08D05A57DCC9}
    ,{51BEC1B8-F6D2-E411-BC82-005056A54F21}
    ,1
    ,NULL
    ,N'2015-04-27'
    ,{87766F58-A0C8-41E6-E7D4-08CFE45FE017}
    ,2
    ,2.81122997072606E-313
    ,N'2015-04-27 23:34:59.7600274'
    ,{87766F58-A0C8-41E6-E7D4-08CFE45FE017}
    ,NULL
    ,{0AB7C33E-0B3E-E211-A06F-005056A54F21},NULL,NULL,0,NULL,NULL)}
    My problem is the value "2.81122997072606E-313" since this field is a real field. I dont understand that. The Value is way to small and a SELECT in the Publisher-DB shows a "1". Does anybody has an idea?
    Thanks
    Dave

    Hi,
    first of all thanks for your help. Publisher-Table-Schema:
    [EV_GUID] [uniqueidentifier] ROWGUIDCOL  NOT NULL,
        [EV_PV_Profilvariable] [uniqueidentifier] NOT NULL,
        [EV_Empfaenger] [uniqueidentifier] NOT NULL,
        [EV_EmpfaengerTyp] [tinyint] NOT NULL,
        [EV_Gruppe] [uniqueidentifier] NULL,
        [EV_ErbrachtDatum] [date] NOT NULL,
        [EV_AN_Erbringer] [uniqueidentifier] NOT NULL,
        [EV_Zeitwert] [int] NOT NULL,
        [EV_Anteil] [real] NOT NULL,
        [EV_ErfasstZeitpunkt] [datetime2](7) NOT NULL,
        [EV_AN_Erfasser] [uniqueidentifier] NULL,
        [EV_SC_Statistikcode] [uniqueidentifier] NULL,
        [EV_OE_Auftraggeber] [uniqueidentifier] NOT NULL,
        [EV_KST_Kostenstelle] [uniqueidentifier] NULL,
        [EV_Bemerkung] [varchar](max) SPARSE  NULL,
        [EV_Flags] [int] NOT NULL,
        [EV_MN_Massnahme] [smallint] NULL,
        [EV_Fremdkey] [varchar](100) NULL
    Subscriber-Table-Schema:
    just the same....
    SELECT EV_Anteil FROM tbl2Replicate WHERE EV_GUID = '7B914E3E-25ED-E411-BC82-005056A54F21'
    returns "1". The reported value wont fit in a real-field or am I missing something? I tested this and it would fill in a "0" for such a tiny number. Therefore it cant be in the publisher database. Also tested with SELECT MIN(EV_Anteil)
    and returned "0.02040816" with another PK of course.
    Other Options in Transactional Replication:
    Replicate schema changes - True
    Copy objects all to false, except clustered index, unique key constraints, Collation and INSERT, UPDATE, DELETE stored procedures
    Convert data types = False
    Thanks
    Dave

  • Error While Creating Date type condition query

    Hi All,
    I am getting following error while creating a multiple condition query.
    ERROR:java.lang.IllegalArgumentException: Unexpected field type for D: java.lang.String
    I am pasting the scrap of the code for review below.
    pls note after removing the condition cond6; it works fine, and cond6 is for date type field.
    for(int j=1;j<7;j++){                          
    fd[j] =trd.getFieldDescriptor(arrayHeaderFieldNames[j]);
    BasisFieldType bft1 =  fd[j].getFieldType();
    if (bft1 == BasisFieldType.C) {
      filterOperator[j] = RelationalOperatorType.CONTAINS;       }
    else{
      filterOperator[j] = RelationalOperatorType.EQUALS;
    order[j] =queryFactory.createSortOrder(fd[j],true);
    cond1 =queryFactory.createCondition(fd[1], filterOperator[1], values[0]);
    cond2 =queryFactory.createCondition(fd[2], filterOperator[2], values[1]);
    cond3 =queryFactory.createCondition(fd[3], filterOperator[3], values[2]);
    cond4 =queryFactory.createCondition(fd[4], filterOperator[4], values[3]);
    cond5 =queryFactory.createCondition(fd[5], filterOperator[5], values[4]);
    cond6 =queryFactory.createCondition(fd[6], filterOperator[6], values[5]);
    Condition cond = queryFactory.createCondition(new Condition[]{cond1,cond2,cond3,cond4,cond5,cond6},LogicalOperatorType.AND);
    Please Help!
    Thanks n regards,
    Kapoorchand.

    Hi,
    well that problem is a long time back -. I only have in mind that the date I had to transfer to the quesry was in a "strange" format. Have a lock into the documentation for the date field - your date field is not recognised as a date field from the quesry engine and so this fails - but unfortunately I have no idea at the moment how I fixed it last time - how I converted my date field......
    Sorry, thast I can not give you the real point - but I will have a lock into the old code - hopefully I find it soon.
    Regards,
    Oliver

  • In ECC 6 , I AM  GETTING ERROR WHILE DECLARING DATA TYPE OF BAPI

    HI,
    IN ECC 6 , i AM  GETTING ERROR" NO READ ACESS RETURN"
    EVENTHOUGH   I DECLARED  DATA TYPE   FOR EXAMPLE
    DATA: RETURN TYPE BAPIRET2.AND USING IN RFC.
    HOW TO CORRECT THE ERROR.
    pLZ HELP ME.
    REGARDS,
    RANI

    Hi Rani,
    Could you please post the piece of coding where the error comes from? Maybe we can help you then.
    Regards,
    John.

  • Error While creating Data type from a XSD

    Hi,
    I am trying to import a XSD into my Data type. I have changed the namespace in the XSD to match that of the target namespace. I am getting the following error.
    Global definition Element: http://ls.sbc.com/OMS/ProcessSalesOrderEFE004,   orderRequest in the schema to be edited will be ignored 
    Schema to be edited defines qualified element names (elementFormDefault = 'qualified')
    Could any help me out in this regard. I don't have much knowledge about XML and XSD.
    Regards,
    Ravikanth

    Hi Ravi,
    please check once again your XSD file.
    it should be like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, " targetNamespace="http://ls.sbc.com/OMS/ProcessSalesOrderEFE004, ">
         <xsd:complexType name="DTO_Data type">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   725b8b10c99e11dc8ff3001cc43a8a68
                   </xsd:appinfo>
    Please check the name of  data type u mentioned in XSD  while imporitng.
    regards
    mahesh..

  • User defined table types sometimes show up a unknown data type in Profiler

    A couple of our users have a problem when using user defined table types. Calls are made using UDTT as variables and these are then passed to a stored procedure as parameters. Sometimes the application returns a timeout. In such situations a Profiler-Trace
    shows the following:
    declare @p4 unknown
    whereas the correct trace (that is sometimes displayed) should be:
    declare @p4 dbo.ReportFilterTableType
    ReportFilterTableType is a UDTT. The users do have correct permissions for the UDTT (otherwise they would never be usable for the user). What could be the reason that the data types for the variable
    @p4 in the example are sometimes returned as unknown and at other times are returned correctly as
    ReportFilterTableType? Could this possibly be a network related issue?
    Thank you.
    Graham Goodwin Email: [email protected]

    I know this is a old post, but i am also facing the same issue that too in my production server. Did you find any workarround for this issue. Please do reply. Critical problem we are facing.
    Alka, Is your problem timeouts when passing TVP parameters, or is it that a Profiler Trace shows type "unknown" for the TVP data type name?
    If your problem is timeouts, be aware that TVPs do not have statistics so the optimizer might not be able to generate an optimal plan for non-trivial queries. Declaring a primary key or unique constraint on the table type may help since that will provide
    useful cardinality information.  You may need to resort to hints in some cases.
    I suggest you start a new thread with details of your specific situation if the information in this thread doesn't help.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Javascript Error in InputField Date Type

    Hi,
    We have migrated the Enterprise Portal Application EP5SP6 to NW2004s SP6.Everything works fine except one issue in a Manager Reports, Where we are using Date type InputField.
    Code used:
    <hbj:inputField
    id="otherdate1"
    type="DATE"
    showHelp="TRUE"
    size="10"
    maxlength="10"
    jsObjectNeeded="true"
    disabled="TRUE"
    >
    <%
    JSP-scriptlet-START----
    otherPeriodFrom=myContext.getParamIdForComponent(otherdate1);
    JSP-scriptlet-END----
    %>
    </hbj:inputField>
    Javascript Error : Line : 3958 code: 2 Error: 'Undefined' is null or not an object
    Above Error appears when the below option in IE is selected.And also, Error appears only when the user enters the date.Also, I cannot ask users to uncheck the settings in IE as most of the users doesn't have administrator access to their amchines
    Error doesn't seem to appear when user selects the date from DataPicker component irrespective whether the below option in IE is selected or not.
    IE Setting option :
    Display a Notification about Every Script Error
    I'm not able to find what could be the problem in EP 7.0 as it works perfectly in EP5.0.
    Any ideas would be appreciated !!
    Thanks,
    Jojo

    Sent an OSS message to SAP.SAP found the problem and fixed the issue and will be available in NW2004s SPS9.
    Jojo

  • ERROR Util: unknown database type (name=MySQL)???

    running WLS V8.2 on Solaris...
    Recently migrated a developed EAR application from a Windows machine (v8.1) to a Solaris test environment (v8.2). Getting a weird error with JDBC connections to a MySQL database:
    [ExecuteThread: '14' for queue
    : 'weblogic.kernel.Default'][]:
    unknown database type found. datbase name = MySQL, database driver name = MySQL-AB JDBC Driver]
    No idea why. Do JDBC drivers have to be registered to WLS? Seems odd. Should be fine just including the MySQL JDBC drivers in with the startup classpath. And I don't understand why the problem doesn't occur on Windows?
    mvh - Matthew Young

    IMO that's because MySQL is not MS SQL
    Slava
    "Maggie Verdier" <[email protected]> wrote in message news:4231082.1103754343585.JavaMail.root@jserv5...
    Actually it does happen on windows. I am running on windows 2000 and Weblogic 8.1.4 using a MS SQL database and I get the sameerror when I try to start the db connections with a jnetdirect driver. I did not get this error on sp3. Did you get a solution to
    this?

  • Error while creating data type

    Hi
    I am creating data type for the scenario from File to IDOC
    Namespace urn:xiworkshop:groupxx:legacy is not defined in the software component version NEWPRODUCT , 100 of sap Object Message Type Vendor | urn:xiworkshop:groupxx:legacy references the inactive object Data Type Vendor | urn:xiworkshop:groupxx:legacy
    Please help me

    Hi;
    First activate your namespace and then create the data type.
    Namespace + default datatypes should be activated together.
    Then your data type
    Mudit

  • Error in changing data type

    i have a table test with column data and datatype is varchar2(35).In this date value is stored
    now i want to change the datatype to timestamp(3)
    i am changing as below
    ALTER table test
    ADD testcolumn timestamp(3);
    its adding column
    UPDATE test
    SET testcolumn = data;
    but its giving error not a valid month

    Check for
    UPDATE test
    SET testcolumn = to_timestamp(data,'date formant in which the data is say if it 01/28/2009 then MM/DD/YYYY HH24:MI:SS:ffx');Regards.

  • UCCHECK error in upgrade: Data type and structure not mutually convertible.

    Hi ABAPers,
    We have upgraded our system from 4.6c to ECC 6.0. We are at the unicode check stage. I am getting an error " 'V_LEV' and 'T_RES_TOTALS' are not mutually convertible in a Unicode program."
    The structure of T_RES_TOTALS is like this:
    BEGIN OF T_RES_TOTALS OCCURS 0,
        FLD1TEXT    LIKE ZTQ_REPVAL-VTEXT,
        FLD1        LIKE ZTQ_VBKA-ZZREP_FLD1,
        FLD2TEXT    LIKE ZTQ_REPVAL-VTEXT,
        FLD2        LIKE ZTQ_VBKA-ZZREP_FLD2,
        FLD3TEXT    LIKE ZTQ_REPVAL-VTEXT,
        FLD3        LIKE ZTQ_VBKA-ZZREP_FLD3,
        FLD4TEXT    LIKE ZTQ_REPVAL-VTEXT,
        FLD4        LIKE ZTQ_VBKA-ZZREP_FLD4,
        FLD5TEXT    LIKE ZTQ_REPVAL-VTEXT,
        FLD5        LIKE ZTQ_VBKA-ZZREP_FLD5,
        FLD6TEXT    LIKE ZTQ_REPVAL-VTEXT,
        FLD6        LIKE ZTQ_VBKA-ZZREP_FLD6,
        VTEXT    LIKE ZTQ_SRCET-TXT,
        SOURCE    LIKE ZTQ_SRCET-SOURCE,
        NAME1    LIKE KNA1-NAME1,
        RAREA     LIKE KNA1-KUNNR,
        TOTAL     TYPE I,
        LEV(2)      TYPE N,
      END OF T_RES_TOTALS,
    V_LEV is declared as this:
    V_LEV(2)      TYPE N,
    Below is the code and the line (marked in bold) which gives the error:
    LOOP AT T_RES_TOTALS.
        *V_LEV = T_RES_TOTALS.*
        AT NEW FLD1.      PERFORM FLD1_START.    ENDAT.
        AT NEW FLD2.      PERFORM FLD2_START.    ENDAT.
        AT NEW FLD3.      PERFORM FLD3_START.    ENDAT.
        AT NEW FLD4.      PERFORM FLD4_START.    ENDAT.
        AT NEW FLD5.      PERFORM FLD5_START.    ENDAT.
        AT NEW FLD6.      PERFORM FLD6_START.    ENDAT.
        AT NEW SOURCE.    PERFORM SOURCE_HEADER. ENDAT.
        AT END OF RAREA.  PERFORM RES_AREA_LINE. ENDAT.
        AT END OF SOURCE. PERFORM SOURCE_TOTAL.  ENDAT.
        AT END OF FLD6.   PERFORM FLD6_END.      ENDAT.
        AT END OF FLD5.   PERFORM FLD5_END.      ENDAT.
        AT END OF FLD4.   PERFORM FLD4_END.      ENDAT.
        AT END OF FLD3.   PERFORM FLD3_END.      ENDAT.
        AT END OF FLD2.   PERFORM FLD2_END.      ENDAT.
        AT END OF FLD1.   PERFORM FLD1_END.      ENDAT.
      ENDLOOP.

    write as below ...
    LOOP AT T_RES_TOTALS.
        V_LEV = T_RES_TOTALS-LEV.  <----
      AT NEW FLD1.      PERFORM FLD1_START.    ENDAT.
        AT NEW FLD2.      PERFORM FLD2_START.    ENDAT.
        AT NEW FLD3.      PERFORM FLD3_START.    ENDAT.
        AT NEW FLD4.      PERFORM FLD4_START.    ENDAT.
        AT NEW FLD5.      PERFORM FLD5_START.    ENDAT.
        AT NEW FLD6.      PERFORM FLD6_START.    ENDAT.
        AT NEW SOURCE.    PERFORM SOURCE_HEADER. ENDAT.
        AT END OF RAREA.  PERFORM RES_AREA_LINE. ENDAT.
        AT END OF SOURCE. PERFORM SOURCE_TOTAL.  ENDAT.
        AT END OF FLD6.   PERFORM FLD6_END.      ENDAT.
        AT END OF FLD5.   PERFORM FLD5_END.      ENDAT.
        AT END OF FLD4.   PERFORM FLD4_END.      ENDAT.
        AT END OF FLD3.   PERFORM FLD3_END.      ENDAT.
        AT END OF FLD2.   PERFORM FLD2_END.      ENDAT.
        AT END OF FLD1.   PERFORM FLD1_END.      ENDAT.
      ENDLOOP.

  • ORA-01704 error form spatial data type (SDO_UTIL.FROM_WKTGEOMETRY)

    I am trying to make a program (C# & ODP.NET)to do the task , get geometry data From sqlserver2008 database and INSERT INTO Oracle11 Spatial Database.
    Because of using the Well-Known text (WKT) syntax , so I need to use "SDO_UTIL.FROM_WKTGEOMETRY('POLYGON ((56678400..." to insert geometry data to oracle. When the polygon text is longest than 4000 chr, I got the exception
    [ORA-01704: string literal too long]
    How can we solve this problem? It's urgent!
    Hope to hear from you.
    Fan

    Try with bind variables:
    oerr ora 1704
    01704, 00000, "string literal too long"
    // *Cause:  The string literal is longer than 4000 characters.
    // *Action:  Use a string literal of at most 4000 characters.
    //          Longer values may only be entered using bind variables.Please read http://www.oracle.com/technetwork/issue-archive/2005/05-sep/o55odpnet-101704.html.

  • Getting Incorrect data type error while trying to do a CAST in table

    Getting an error while trying to compile the following piece of code
    CREATE OR REPLACE PACKAGE BODY A_pkg AS
    FUNCTION A(O_error_message IN OUT varchar2)
    RETURN BOOLEAN IS
    --Declaring the local variables and CURSORs used in the program unit
    L_attrib_tbl CFA_SQL.TYP_attrib_tbl;
    cursor c1 is
    select list_first1.number_11
    from TABLE (CAST (L_attrib_tbl AS "CFA_SQL.TYP_attrib_tbl")) list_first1;
    BEGIN
    L_group_id = '22'
    IF L_merch_type_value = 'G' OR L_merch_type_value = 'I' THEN
    CFA_SQL.QUERY_ATTRIB(L_attrib_tbl,
    L_group_id) ;
    END IF;
    open C1;
    Fetch C1 into L_number;
    close C1;
    return true;
    END A;
    END;
    Also pasting the Spec for CFA_SQL which contains TYP_attrib_tbl
    TYPE TYP_attrib_rec IS RECORD
    group_id CFA_ATTRIB_GROUP.GROUP_ID%TYPE,
    varchar2_1 VARCHAR2,
    number_11 number(10,0));
    TYPE TYP_attrib_tbl is TABLE of TYP_attrib_rec INDEX BY BINARY_INTEGER;
    The error is coming in the line
    cursor c1 is
    select list_first1.number_11
    from TABLE (CAST (L_attrib_tbl AS "CFA_SQL.TYP_attrib_tbl")) list_first1;
    with the error as Invalid data type pointing to CFA_SQL.TYP_attrib_tbl as invalid, but I have initialized L_attrib_tbl as of that datatype only. Ahy help would be greatly appreciated.
    Regards,
    Joydeep

    Hi Kelly,
    There is no data that is entered in that period.The data will be entered for that period next month.
    POV is also not set to that period,but still the problem persists.
    Thanks

Maybe you are looking for