Two-task conversion routine: integer overflow

Hi!
We're using JBuilder to connect an Oracle database remotely.
Everything's fine when I do a stmt.executeQuery() with a single
SQL command (like select field1 from table1). But when I use a
SQL command using two or more fields (like Select field1, field2
from table1) I receive the message "ORA-03120: two-task
conversion routine: integer overflow".
Can anyone help us with it ? We're needing this information
fast for our graduation work of the college.
Thanks!
null

I am using 8.1.6 database and 6.0.8.11.3 forms.
I found that if I change the query stored procedure from passing the result set in a cursor variable, to a table variable the problem seems to go away. We are still testing though...
When openning a cursor variable in a "open cursor_x for <select statement>" statement do you need to explicitly close the cursor?
Thanks,
Darryl

Similar Messages

  • ORA-03120: two-task conversion routine: integer overflow

    Hello DB Gurus!!
    Need your comments and help once again...
    I am trying to import a DUMP file into My Local Database ie. Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The file exported was by different user on different Dabase of Oracle 10g i.e. Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    but while I am trying to import, I getting the following error..
    Please help.. and suggest the alternate..
    Warning: the objects were exported by XYZABC , not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    IMP-00008: unrecognized statement in the export file:
    . importing NEXOS_ADMIN_OLTP_API's objects into SHRICHANDRA_ABC123
    IMP-00003: ORACLE error 3120 encountered
    ORA-03120: two-task conversion routine: integer overflow
    . importing NEXOS_ADMIN_OLTP_TAB's objects into SHRICHANDRA_XYZ123
    IMP-00003: ORACLE error 3120 encountered
    ORA-03120: two-task conversion routine: integer overflow
    Thanks in advance..

    Thank Rajneesh,
    I suspect the same issue as you did, But unfortunately I don't have much option available, as other side all are production DB so All I can do is pull from there that is export and import to my local where I am stuck!!!
    Thanks..

  • ORA-03120 :two-task conversion routine:integer overflow Vendor code 3120

    Hi,
    I got below mentioned error message, while i run the procedure in sql developer
    ORA-03120 :two-task conversion routine:integer overflow Vendor code 3120

    What version of the database are you on? 9.2.0.8 for a guess?
    >
    ORA-03120 is associated with bug 5671074 on Oracle Enterprise Edition; Version 9.2.0.8, occurring on any platform:
    After applying the 9.2.0.8 patchset, compilation of functions and/or materialized view refreshes that reference remote databases via database links start failing with:
    ORA-04052: error occurred when looking up remote object OMS.PREMISE@JEAUSER_OMPR_L.WORLD
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03120: two-task conversion routine: integer overflow
    ORA-02063: preceding line from JEAUSER_OMPR_L
    Bug 5671074 "ORA-4052/ORA-3106 on Create / Refresh of Materialized View", can cause this problem. Contrary to the bug abstract and description, this bug does not just apply to materialized view creation and refresh. It can occur for any PL/SQL that references a remote object via database link where the 'Endianness' of the two platforms differs. If one platform is 'Big-Endian', and another platform is 'Little-Endian', then this bug can be triggered between them. A list of the endianness of different platforms can be obtained from the following query (note that the v$transportable_platform view is only available in 10.1 and above):
    To resolve ORA-03120, this solution is given:
    To implement the solution, it will be necessary to apply the one-off patch for Bug 5671074 to the 9.2.0.8 database. One-off patches to 9.2.0.8 for most platforms are already available for download on MOSC. Bug 5671074 to the 9.2.0.8 database. One-off patches to 9.2.0.8 for most platforms are already available for download on MOSC.
    >
    If not, post more information: {message:id=9360002}

  • How can solve this ORA-03120: two-task conversion routine: integer overflow

    Hello everybody,
    I'm writing this query "SELECT rowid from <mytable>" and I get this error: ORA-03120
    Does anybody know how can i solve it?
    Thanks in advice

    Here is the cause and action as suggested in the Oracle Error Guide...please see if it helps you to fix the error
    ORA-03120:two-task conversion routine:integer overflow
    Cause: An integer value in an internal Oracle structure overflowed when being sent or received over a heterogeneous connection. This can happen when an invalid buffer length or too great a row count is specified. It usually indicates a bug in user application.
    Action: Check parameters to Oracle calls. If the problem recurs, reduce all integer parameters, column values not included, to less than 32767
    Regards,
    Murali Mohan

  • ORA-03120: two-task conversion

    Hi,
    I have been using OEE V8.1.6.0.0 on SUN solaris recently we installed OracleV8.1.7 on linux .I have been noticing following error message in webserver log at client end.
    "Error: ora8.c:2161:ora_get_row: error in `OCILobRead ()': ORA-03120: two-task conversion routine: integer overflow"
    I know patching the db at server end is solution.WOndering if anyone could help how to fix this problem without upgrdating at server end.Does any one have oracleV8.1.6 client on Linux ?
    Thx

    I receive the message "ORA-03120: two-task
    : conversion routine: integer overflow".
    I got this error message when I was parameters from
    a stored procedure and I had my parameter-ordinals
    reversed like this:
    if first parameter is string and second int for instance
    (I don't remember the actual call anymore) and I would get data
    with the following statements
    sText=stmt.getString(2);
    i=stmt.getInt(1);
    Hope this helps
    Jani
    null

  • Two task Errors

    ORA-03120 two-task conversion routine: integer overflow
    Cause: An integer value in an internal Oracle structure overflowed when being sent or received over a heterogeneous connection. This can happen when an invalid buffer length or too great a row count is specified. It usually indicates a bug in the user application.
    Action: Check parameters to Oracle calls. If the problem recurs, reduce all integer parameters, column values not included, to less than 32767.
    client : window
    server : unix
    에서 데이터내리다 clob데이터만 익스포트가 실패했는데 원인이 저위에 에러입니다.
    원인과 해결책이..좀 궁금하네요..당연히 원격입니당.

    export 시에 buffer옵션을 사용하셨는지요? buffer가 아닌 direct=y를 통해서
    export 해보시기 바랍니다.
    buffer를 줄일 수록 0320에러가 발생할 수 있는 여지를 줄일 수 있습니다.

  • JDBC, two-task/datatype error

    I have an interesting problem. I am able to install and run JDK1.2/JDBC (thin) drivers on RH Linux, and execute sample code. Please note I can get everything to work fine on NT. All the sample code is the equivalent of 'select ename from emp', which works great. I notice, though, that if I select more than one column, two problems can occur. For instance, if I say 'select ename, ename from emp' (or any variation w/ two columns), I get either:
    <p>
    Exception in thread "main" java.sql.SQLException: ORA-03115: unsupported network datatype or representation
    <p>
    or in another table/case:
    <p>
    java.sql.SQLException: ORA-03120: two-task conversion routine: integer overflow
    <p>
    This is a problem for obvious reasons; I'd like to get more than one column at a time. The installation of Oracle is pretty vanilla and I do remind you that the same code runs properly on NT.
    <p>
    Thanks!

    Oh, actually, I lied about 1 thing. I had been using the JDBC-ODBC bridge driver on NT, not the Oracle driver, so I can't say I was using the Oracle driver in NT.
    But, I still have the problem in Linux.
    Thanks!
    null

  • ORA-03117: TWO-TASK SAVE AREA OVERFLOW

    I have oracle 8i database and powerbuilder 7 application.
    When I try to execute a store procedure through powerbuilder script ,I got a oracle error "ORA-03117: TWO-TASK SAVE AREA OVERFLOW".
    That stored procedure is inside a package .
    That oracle package contains more than 10 procedure , function and user define data type declarations.
    The same procedure (inside package) execute properly in oracle 7 DBMS and its prompt "TWO-TASK SAVE AREA OVERFLOW" error in oracle 8i DBMS.
    The profile string to connect oracle database and powerbuilder is follow:
    [Profile TEST]
    DBMS=O84
    Database=Oracle8i
    UserId=
    DatabasePassword=
    LogPassword=
    ServerName=TEST
    LogId=
    Lock=
    Prompt=1
    DbParm=DisableBind=0,DelimitIdentifier='No',CommitOnDisconnect='No'
    When I try execute other package stored procedures , it execute properly without any error through powerbuilder application.
    Please anyone help me how to solve the error "ORA-03117: TWO-TASK SAVE AREA OVERFLOW' in oracle 8i DBMS
    Thanks
    Leela

    Hello,
    I think we found the explanation for ORA-03117 error in PowerBuilder environment.
    Before EACH time when PowerBuilder calls stored procedure or function it runs dbms_describe.describe_procedure
    It looks like at some point this function stops working and it becomes a problem. So far I found the way to discover it.
    SET pagesize 0
    SET trimspool ON
    SPOOL c:\temp\describe.sql
    SELECT 'PROMPT Object: ' || object_name || CHR(13) || CHR(10) || 'DESCRIBE ' || object_name
         FROM all_objects
         WHERE owner = 'ABC'
         AND object_type IN ('PROCEDURE', 'PACKAGE', 'FUNCTION CLASS')
         ORDER BY object_name;
    SPOOL OFF
    SPOOL c:\temp\describe.log
    @c:\temp\describe.sql
    SPOOL OFF
    If you will find text "ORA-03117" in c:\temp\describe.log then this could lead you to the solution.
    What's weird is that SQL*Plus can not describe package but it can execute any of its function without any problem.
    I will update this thread if something new will come up.
    Hope this will help,
    Boris

  • What is conversion routine which is found in data element

    Hi all,
    I was just trying to creating a data element assigned to a particular domain in se11. While i am creating i can see a conversion routine
    Can anyone tell me what is the use of that conversion routine with an example.
    thanxs in advance
    hari

    Hi,
    Depending on the data type of the field, there is a conversion when the contents of a screen field are converted from display format to SAP-internal format and vice versa. If this standard conversion is not suitable, it can be overridden by defining a conversion routine in the underlying domain.
    Conversion routines are identified by a five-place name and are stored as a group of two function modules. The function modules have a fixed naming convention. The following function modules are assigned to conversion routine xxxxx:
    CONVERSION_EXIT_xxxxx_INPUT
    CONVERSION_EXIT_xxxxx_OUTPUT
    The INPUT module converts from display format to internal format, and the OUTPUT module converts from internal format to display format.
    When is a Conversion Routine Executed?
    If a screen field refers to a domain with a conversion routine, this conversion routine is executed automatically when entries are saved in this screen field or when values are displayed in this screen field. The conversion routine of the domain is also triggered when the field contents are output with the WRITE statement.
    Table SPFLI in the  flight model contains information about the flights offered by the carriers. The time for each flight is recorded in field FLTIME. Enter and display the time of the flight in input templates in the form HHH:MM (hours:minutes). Store the flight time entered in the database as an integer number (number of minutes of the flight). An entry 3:27 is therefore stored in the database as 207 (3 hours, 27 minutes = 207 minutes).
    Field FLTIME refers to domain S_DURA, to which conversion routine SDURA is assigned. The value is thus converted by the two function modules <b>CONVERSION_EXIT_SDURA_INPUT</b> and <b>CONVERSION_EXIT_SDURA_OUTPUT</b>.
    A conversion routine can also be triggered by specifying its five-place name in the attributes of a field in the Screen Painter or with the addition <b>USING EDIT MASK <Name of conversion routine></b> in the WRITE command in the program. With the USING NO EDIT MASK addition in the WRITE statement, you can skip a conversion routine defined for a domain when outputting.
    Parameters
    The two function modules of a conversion routine must have precisely two parameters with the names INPUT and OUTPUT for the value to be converted and the converted value.
    The INPUT parameter in the INPUT conversion and the OUTPUT parameter in the OUTPUT conversion should not have any reference fields because the value passed in the call could have a different length than that expected.
    Programming Conversion Routines
    ABAP statements that result in an interruption of processing (such as CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, COMMIT WORK, ROLLBACK WORK, MESSAGE I, MESSAGE W) are not allowed in conversion routines.
    Only A messages are meaningful in output conversion, but A, E and S messages can be triggered in input conversion (although S messages are not very meaningful here). E messages result in an error dialog. Exceptions are not intercepted in the call.
    The output conversion is also triggered with WRITE and WRITE TO. The conversion routine may therefore occur very frequently with lists. The output conversion should therefore be programmed as efficiently as possible.
    No external performs should be used in conversion routines. Programs that are called externally use the table work areas of the first calling main program. In conversion routines this can result in errors that cannot be easily analyzed since they are sometimes called at unpredictable times in the program flow.
    <b>Pls refer link which contains code as an example to conversion routine used in abap</b>.
    <a href="http://www.bwexpertonline.com/downloads/source_code.doc">http://www.bwexpertonline.com/downloads/source_code.doc</a>
    Pls reward points.
    Regards,
    Ameet

  • What is use of  Conversion Routine in  Abap dictionary

    Hi,
    Can any body please tell me the proper use of <b>Conversion Routine in  Abap dictionary.</b>
    Please give me a practical example where it has been used.
    Thanks
    prabhudutta

    hi,
    here is help for conversion routine
    Conversion takes place when converting the contents of a screen field from display format to SAP-internal format and vice versa and when outputting with the ABAP statement WRITE, depending on the data type of the field.
    If standard conversion is not suitable, it can be overridden by specifying a conversion routine in the underlying domain.
    A conversion routine is identified by its five-place name and is stored as a group of two function modules. The function modules have a fixed naming convention. The following function modules are assigned to conversion routine xxxxx:
    CONVERSION_EXIT_xxxxx_INPUT
    CONVERSION_EXIT_xxxxx_OUTPUT
    The INPUT module performs the conversion from display format to internal format. The OUTPUT module performs the conversion from internal format to display format.
    If a screen field refers to a domain with a conversion routine, this conversion routine is executed automatically each time an entry is made in this screen field or when values are displayed with this screen field.
    regards,
    Raghavendra

  • How to write conversion routine for key figure?

    Our customer has this requirment:
    we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this:  00:08:20, If a TV program last 100000 seconds, we need show the key figure like 27:46:40 (27 hours and 46 minitues and 27 seconds), If we define a key figure as time,  BW system will report a error that say it is not acceptable time.  If we want to define a integer, but we need display it like hhmmss format.  We know we can write conversion routine for char.  but I don't how to write conversion routine for key figure.   Please give me any hint if any other solutions?
    Edited by: SY DONG on Dec 2, 2010 3:36 AM

    If you want to do in Transformation Layer :
    You can use routine ...break up the seconds into minute hour and seconds
    you will have to handle few cases in this:
    let say your variable lv_seconds holds the number of seconds you want to convert to hour min and seconds
    DATA: lv_seconds type i,
               lv_hrs  type  i,
              lv_sec type i,
              lv_min type i.
    lv_hrs = lv_seconds / 3600
    if lv_hrs >= 1.
    lv_min = (lv_hrs - trunc(lv_hrs))*60
    here again handle seconds if min >60.
    else.
    lv_hrs = '00'.
    lv_min = lv_hrs*60
    It is just hint ..how you can manipulate the seconds to get it...you will have to think about the complete algorithm
    Regards,
    RK

  • Conversion Routine problem

    Hi,
    In one of the info object there is a conversion routine. So, when the query is executed in BeX Query Analyzer the result is comming correct i.e. if in the database the value of info object is 0001234 then at display it is coming as 1234.
    However, in case if its value is "STEP" in database , at output "Not Assigned" is comming. Dont know what is happening. If anybody already encouter this problem please help.

    Hi,
    It is not in the hierarchy.
    I am using alpha routine so as to remove the leading zeros at the time of display.
    There are two info objects, both are same, the only difference between them is one info object is having alpha routine and another one is without it.
    The one info object without any routine is displaying values correctly but the another one with aplha routine is displaying 00123 as 123 but also displaying STEP as Not Assigned.
    Edited by: megamin79 on Feb 9, 2012 7:43 PM

  • Regarding "TYPES & "CONVERSION ROUTINES"............

    Hi abapers,
    Can we have a code snippet as given below,
    TYPES : NUMB TYPE I VALUE 100.
    DATA : NUM1 TYPE NUMB.
    WRITE : / NUMB, NUM1.
    what will be the output?. Will the value 100 be copied to the field NUM1?
    Next question is regarding "conversion routines". I read that "conversion routines" can be assigned to fields(variables) in abap?. What are "conversion routines"? What are their purpose? Also explain me the purpose of "EDIT MASK"?
    Thanks in advance.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jun 27, 2008 1:29 PM

    Hi,
    Conversion Routine..
    I will just give you an example.....
    For us in user interface English language is EN... but for system it is Just 'E'...
    There conversion will happen from user to system and while retrieving from system to user..
    So there are two routines for that.
    CONVERSION_EXIT_ <conversion routine name> _OUTPUT
    CONVERSION_EXIT_ <conversion routine name> _INPUT.
    These coversion routines do the conversion job
    check this link..
    http://help.sap.com/saphelp_erp2004/helpdata/en/33/206bc8012e11d3b495006094192fe3/content.htm
    Hope this would help you..
    Regards
    Narin Nandivada.

  • Infopackage Conversion Routine option is checked

    Hi everyone,
    I'm trying to understand the dynamic of the Dataload process in my new client and there is a infopachage where in "Data Selection" tab i have a "Use Conversion Routine" option checked and i don't know where this exact routine is actually is, i mean i want to see the code and what this routine does??
    Any ideas?

    Hi,
    In the infopackage selection screen you can enter your selections either directly or through the use of routines.
    "Use conversion routine " is selected to enable these routines.
    To write the routines click on the "Type(Variable change...)" column,and in its selection screen u hav two options
    ABAP Routine
    OLAP Variables
    Selcet ABAP Routine.
    Give a description and click on editor,
    it will take u to the routine scree.
    Now u can do the required cahnges.
    Once it is saved the routine is available in the TYPE column in the selection screen

  • Conversion routines on SAP 4.0B

    Hi All!
    I have a piece of software running on SAP 4.5 and I have to port it to SAP 4.0B (The horror !!!). I managed to solve all the problems but one. In version 4.5, author created many domains with conversion exits and some of these conversion exits are missing (especially - timestamp conversions) on 4.0B (e.g. TSTPS). This may sound like noob question but is there any way to add missing conversion exits to 4.0B or write new, custom ones? I haven't done it before and I don't even know how to start.
    I will appreciate all the help you can give me.
    Thanks in advance
    Tomasz

    Hello Tomasz,
    Poor guy! Working with 4.0B on April 1st is an appropriate day for sure. A year ago I was working on 4.0B -fortunately for a very short time. This was not so much a problem because I am working with SAP since the lowest version. Nevertheless it was a pain! First: I don't know a 100% solution and I am not able to login into this guy anyway.
    To solve your task you have to create your own conversion. TSTPS is linked to a simple ABAP program. Under 4.0B you have to create this program. As far as I remember those conversions are screen/ta related. Go to the field where the conversion has to accour, click F1 and then go to technical settings. There should appear a box which is responsible for the conversion routine. From there try to proceed.
    Sorry, I can not provide you with more (because I don't know).
    May be it helps when you login to SAP Help Portal (on the web).
    I wish you the best,
    Heinz

Maybe you are looking for

  • Problem while running root.sh in RAC Node

    I am currently configuring RAC on linux using VMWARE Server using the following link .My host Operating System is Windows XP and guest O/S Cent OS.Shared disks have been configured on my C drive for ocr,voting disk,asm. http://www.oracle-base.com/art

  • Downloaded to my g5 ppc mac w 10.5.8 won't open, says not supported

    won't open

  • Read from file and plot data against timestamp

    Hello, I know that there are already many posts regarding the question I m about to ask. But, I somehow dont seem to achieve what I want using the suggestions given in the other posts. My problem is that, I have a file with the first column as a time

  • How to play DVD from .IFO file

    Hello everyone,                      When I was in another OS (:p), I was able to have the root of a DVD (VIDEO_TS and AUDIO_TS), and by selecting the .IFO file in the VIDEO_TS, I was able to watch the entire DVD with all the options and etc.        

  • Switching to Windows: Which system?

    If I understand, a 64bit OS in Windows doesn't support CS4 Web Premium (or, the other way around) I'm a long time Mac user and will keep my desktop but for mobile purposes, the price difference in these times is too great for the head not to over rul