ORA-00922 error when user calls sys.verify_function from forms
Hi there,
I have a form to change the user's current password.
After user provides new password and clicks on OK button, it calls a database procedure called "change_pwd" which calls the Alter command.
I modified the SYS.verify_function, which has the code
-- rule Passwords can only contain A-Z, 0-9, _
violate_rule_five := FALSE;
FOR v_char IN 1 .. lv_pwd_len
LOOP
v_this_char := UPPER (SUBSTR (PASSWORD, v_char, 1));
IF ( ((v_this_char >= 'A') AND (v_this_char <= 'Z'))
OR ((v_this_char >= '0') AND (v_this_char <= '9'))
OR (v_this_char = '_')
THEN
violate_rule_five := FALSE;
ELSE
violate_rule_five := TRUE;
GOTO violrule5;
END IF;
END LOOP;
<<violrule5>>
IF violate_rule_five = TRUE
THEN
raise_application_error (-20600, lv_error_msg);
END IF;When i try to change the password to 'blah-blah1' i expect it to show be error 20600. But instead shows ORA-00922.
Why is this happening?
All other rules in the verify_function are working correctly.
Please help.
I added the [ code ] tags to make the code easier to read.
Message was edited by:
Jan Carlin
I have noticed just now that a dump file having a name like ifrun60_dump_299, is generated by FORMS every time I issue the aborted call to the foreign function.
Inside the form dump file, apart from useless info like Registers and so on, the message:
"Could not find Module32First"
By a FILE/FIND/CONTAINING TEXT I searched all the DLLs, and I noticed that Module32First is a routine that can be found within each of the following DLLs:
Cl32
d2kwut32
d2kwut60
I tried to load those DLLs along with SECURSIGN.DLL by modifying the PROCEDURE LoadLibrary into the FFI-generated PLL code, and I have apparently no problem in loading all the DLLs that I wish, but the error persists, and that dump file is constantly generated, always looking for the "Module32First" routine.
How can I avoid all that mess and the FRM-40734 error??
Similar Messages
-
ORA-03106 Error when connecting to Oracle 10g from Forms 6i
I have migrated my database from Oracle 8.0.5 to Oracle 10g, version 10.0.1.0.3 through import-export utility. During migration, one difference I made was to change the NLS_LANG to UTF8 from ANSI.
The NLS_LANG for client is AMERICAN_AMERICA.WE81S08859P1.
I am using HP ML370 Proliant Server and running Red Hat Enterprise Linux AS version 3 with Oracle 10g
My client-server application is based on Oracle Developer version 2.1. I am using forms 5.0 and reports 3.0 only.
The problem with me is that the client-server application is working against the upgraded database, but with greatly downgraded speed. The .fmb files cannot be compiled, however some of the .rdf files are compiled successfully, but remaining not.
My question is that is Developer 2000 (Forms 5.0.6 and Reports 3.0.5) compatable with Oracle 10 database, as my application is running very slow ?
I tried Forms 6i to remove this problem. I used Forms Developer 6i Recut version and successfully installed on Windows XP, however, when try to create connection using Net 8 Easy Utility, the connection does not establish with following error:
ORA-03106 : fatal two-task communication protocol error
The entry has been checked in tnsnames.ora and is found correct. I also tried connecting through SQL, but the application closes.
The patch set 17 for installation on Windows XP has also been applied, but still the same error persits.
The same installation has also been checked on Windows 2000, but the same problem persists.
I would be thankful if any one provide me solution for the same. Where I am mistaken and what do I do to get out of this problem.
Regards
Naveen.Naveen,
Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
Frank -
ORA-28513 error when I call sp using dbms_hs_passthrough
I call sp on AS400 using ODBC Database Gateway and dbms_hs_passthrough.
If I make all params IN - all OK. If I set one or more params as INOUT or OUT - I get error message ORA-28513: internal error in heterogeneous remote agent.
declare
ProdID VARCHAR2(6);
DSC VARCHAR2(35);
TCDE VARCHAR2(6);
CLID VARCHAR2(11);
Rate NUMERIC(10,0);
WSID VARCHAR2(4);
ErrorCode VARCHAR2(1);
ErrorMsg VARCHAR2(200);
execStr varchar2(100):= 'call alibts1.ImportInsProductData(?,?,?,?,?,?,?,?)';
i binary_integer;
n binary_integer;
begin
i:=dbms_hs_passthrough.open_cursor@AS400ODBC;
dbms_hs_passthrough.parse@AS400ODBC(i,execStr);
ProdID := '000100';
DSC := 'TEST 1';
TCDE := '000003';
CLID := '001';
Rate := 41;
WSID := 'ORA1';
ErrorCode := ' ';
ErrorMsg := ' ';
dbms_hs_passthrough.bind_variable@AS400ODBC(i,1,ProdID);
dbms_hs_passthrough.bind_variable@AS400ODBC(i,2,DSC);
dbms_hs_passthrough.bind_variable@AS400ODBC(i,3,TCDE);
dbms_hs_passthrough.bind_variable@AS400ODBC(i,4,CLID);
dbms_hs_passthrough.bind_variable@AS400ODBC(i,5,RATE);
dbms_hs_passthrough.bind_variable@AS400ODBC(i,6,WSID);
dbms_hs_passthrough.bind_out_variable@AS400ODBC(i,7,ErrorCode);
dbms_hs_passthrough.bind_out_variable@AS400ODBC(i,8,ErrorMsg);
n:=dbms_hs_passthrough.execute_non_query@AS400ODBC(i);
dbms_hs_passthrough.GET_VALUE@AS400ODBC(i,7,ErrorCode);
dbms_hs_passthrough.close_cursor@AS400ODBC(i);
dbms_output.put_line(ErrorCode);
end;
In trace file I found this:
Exiting WP_SQLBindParameter, rc=0 at 2011/03/14-16:32:21
Exiting hgoprbv, rc=28513 at 2011/03/14-16:32:21 with error ptr FILE:hgoprbv.c LINE:351 ID:Out binds not allowed
nrows:0
Exiting hgoexec, rc=28513 at 2011/03/14-16:32:21 with error ptr FILE:hgoexec.c LINE:182 ID:Calling hgoprbv
Is it mean I can't use OUT params in HS_PASSTHROUGH with ODBC Gateway?As you've linked the docu - check out
2.3 Known Restrictions
which states:
* Does not support stored procedures
Reason for this restriction is we have no control over the foreign ODBC drivers and the function it has implemented. As you've also already figured out it works for your MS SQL Server connection, but fails for the iSeries which is indicating an issue with the driver or its implementation.
And that's the reason why it is documented as a known restriction and if you want to call a foreign procedure you have to use the dedicated foreign database gateway (if it is available) - for example DG4MSQL for MS SQl Server and DG4DRDA for DB2 databases on IOS, LUW and z/OS. -
ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http
I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
when browsed through some of the messages they point to setting Oracle Wallet Manager.
I am trying to connect
Any idea on how to resolve this issue ?
your input is appreciated.
Thanks
RaviDuplicate post ... please ignore.
-
ORA-03115 error when calling a Stored Procedure
Hi All,
I'm in the process of porting a Pro/C app from NT to Linux. I've installed 8.1.5 on our Linux box and patched it up to 8.1.5.02.
It all kind of works ok, except that I'm sometimes getting ORA-03115 errors when the app calls a stored procedure. The call in question looks like this:
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR resprows[50][3998];
int numret = 0;
int numrows= 50;
int done= 0;
unsigned long resp_id = 0;
EXEC SQL END DECLARE SECTION;
EXEC SQL AT DB_NAME EXECUTE
BEGIN pkg_something.getdata(
:resp_id, /* IN */
:numrows, /* IN */
:done, /* OUT */
:resprows, /* OUT */
:numret /* OUT */
END;
END-EXEC;
The stored procedure basically uses the resp_id value to select rows from a table;
in each row there is a VARCHAR2(4000) column which it copies into the hostarray resprows.
There may be anything from 1 to numrows returned from the SP.
Initially, the resprows rows were defined to be size [4000]. Unfortunately, this caused ORA-02005 errors - I then changed the size to [3998], which seemed to fix the 02005's (although I'm unclear as to the reasons why).
Now I'm getting the 03115 errors when calling the SP. The oracle manual is not very helpful on what this error means.
This all works chipper on NT.
Any ideas?
Thanks in advance,
Nigel.
PS: The database the app is talking to is still hosted on NT.
nullHiston FTM wrote:
ORA-04063: package body "LAZARUS.LAZARUS" has errors Above, obviously conflicts with the statement that follows:
>
The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.I suggest you take a look in the USER_ERRORS view to see, what the errors are.
And just checking:
You have schema called LAZARUS, which holds a package named LAZARUS, which holds a procedure called POPULATEGRIDPOSITIONS?
Edited by: Toon Koppelaars on Oct 1, 2009 5:55 PM -
ORA-04062 error when running forms with different users
ORA-04062 error when running forms with different users
I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
I wrote a stored procedure to get the data from other user's tables.
When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
My Forms version is 6i with Patch 15.
Database version is 9.
Here is my stored procedure:
TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
TYPE Open_Curs IS REF CURSOR;
PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
Curs Open_Curs;
i NUMBER;
BEGIN
OPEN Curs FOR
'SELECT Seq_No FROM '|| User_Name ||'.scenario';
i := 1;
LOOP
FETCH Curs INTO Scen_Table(i);
EXIT WHEN Curs%NOTFOUND;
i := i + 1;
END LOOP;
END Get_Senarios;
I would be happy to solve this problem. It's really important.
Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)I think it should be a better solution to create a package,
and put your own TYPES and procedure into it.
CREATE OR REPLACE PACKAGE PKG_XXX IS
TYPE TYP_TAB_CHAR IS TABLE OF .... ;
PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
END ;
Then in your Form :
Declare
var PKG_XXX.TYP_TAB_CHAR ;
Begin
PKG_XXX.P_XX( 'user_name', var ) ;
End ; -
ORA -12569 error when querying dba_change_notification_regs table
Hi,
I am getting ORA-12569 error when i am trying to execute Select * from dba_change_notification_regs from sys user .we are working on oracle 10.2 version.
Please help in resoving the issue.
Thanks In advance.
PriyaORA-12569: TNS:packet checksum failure
Cause: The data received is not the same as the data sent.
Action: Attempt the transaction again. If the error is persistent, turn on tracing and reexecute the operation.
If this doesn't resolve your issue, please see metalink 4933023.8 (problem fixed there) -
Why am I getting an ORA-04052 error when I try to compile a Procedure?
Hi,
The following procedure I'm getting an ORA-04052 error when I try to compile the following procedure.
CREATE OR REPLACE PROCEDURE APPS.Find_String (
pin_referenced_name IN dba_dependencies.referenced_name%TYPE)
IS
cursor cur_get_dependancy
is
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;
v_owner varchar2(40);
v_name varchar2(50);
v_type varchar2(40);
BEGIN
dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
dbms_output.put_line(' ');
dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
FOR i IN cur_get_dependancy
LOOP
v_owner := RPAD(i.owner, 30, ' ');
v_name := RPAD(i.name, 45, ' ');
v_type := RPAD(i.type, 30, ' ');
dbms_output.put_line(v_owner ||v_name|| v_type);
END LOOP;
END find_string;I'm using the link [email protected]. The procedure compiles for other database links used in the cursor including the one commented to the right of the code 'prod.world'.
What's even stranger is that I took the SELECT statement
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;out of the procedure and ran it on the command line using the @pinp.world link, the SQL statement ran just fine. But when I tried to compile the above procedure with that exact same SQL statement with the exact same link I get the following string of errors.
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-02068: following severe error from PINP
ORA-03113: end-of-file on communication channelHow can the link work just fine in a regular SQL statement but then cause an error when its compiled in code that otherwise compile just fine when using any other link or even just a plain database. Does anyone have any suggestions?OK Justin,
Here's the query by itself run in another database using the @pinp.world link and querying the dba_dependencies table in the pinp.world database. As you can see the query using this link works just fine returning the requested rows. I can't figure out why the compiler is having an issue with essentially this same query when I try to compile it in a cursor in TOAD. Also this is the database (dev1.world) that I'm trying to compile this Procedure in.
By the way I'm in an Oracle 9.2.0.6 database and TOAD v9.2.
SQL> conn apps/apps1@dev1
Connected.
SQL> SELECT distinct owner, name, type
2 FROM [email protected]
3 WHERE lower(referenced_name) = lower('ALL_USERS')
4 AND referenced_type <> 'SYNONYM'
5 AND owner <> 'SYS'
6 order by name;
OWNER NAME TYPE
PUBLIC ALL_USERS SYNONYM
XDB DBMS_XDBUTIL_INT PACKAGE BODY
XDB DBMS_XDBZ0 PACKAGE BODY
SYSTEM MVIEW_EVALUATIONS VIEW
SYSTEM MVIEW_EXCEPTIONS VIEW
SYSTEM MVIEW_FILTER VIEW
SYSTEM MVIEW_LOG VIEW
SYSTEM MVIEW_RECOMMENDATIONS VIEW
SYSTEM MVIEW_WORKLOAD VIEW
ORASSO WWCTX_API PACKAGE BODY
PORTAL WWCTX_API PACKAGE BODY
ORASSO WWEXP_UTL PACKAGE BODY
PORTAL WWEXP_UTL PACKAGE BODY
PORTAL WWPOB_API_PAGE PACKAGE BODY
PORTAL WWPOF PACKAGE BODY
ORASSO WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWSBR_EDIT_ATTRIBUTE PACKAGE BODY
PORTAL WWSBR_FOLDER_PORTLET PACKAGE BODY
PORTAL WWSBR_USER_PAGES_PORTLET PACKAGE BODY
ORASSO WWUTL_API_PARSE PACKAGE BODY
OWNER NAME TYPE
PORTAL WWUTL_API_PARSE PACKAGE BODY
PORTAL WWUTL_EXPORT_IMPORT_LOV PACKAGE BODY
ORASSO WWUTL_LOV PACKAGE BODY
PORTAL WWUTL_LOV PACKAGE BODY
PORTAL WWV_CONTEXT PACKAGE BODY
PORTAL WWV_CONTEXT_UTIL PACKAGE BODY
PORTAL WWV_DDL PACKAGE BODY
PORTAL WWV_GENERATE_UTL PACKAGE BODY
PORTAL WWV_GLOBAL PACKAGE
PORTAL WWV_MONITOR_DATABASE PACKAGE BODY
PORTAL WWV_PARSE_AS_SPECIFIC_USER PACKAGE BODY
PORTAL WWV_PARSE_AS_USER PACKAGE BODY
PORTAL WWV_SYS_DML PACKAGE BODY
PORTAL WWV_SYS_RENDER_HIERARCHY PACKAGE BODY
PORTAL WWV_THINGSAVE PACKAGE BODY
PORTAL WWV_UTIL PACKAGE BODY
PORTAL WWV_UTLVALID PACKAGE BODY
38 rows selected.
SQL>Let me know what you think.
Thanks again. -
ORA-01031 Error When starting Database
I have installed Oracle 11gr2 on my laptop having OS ubuntu 10.04, after installation i am receiving ORA-01031 error when try to log in with the command
sqlplus / as sysdba what should i do to resolve it...Hi,
there are a lot of possibilities why this can be wrong. Look at Oracle Support for note 233223.1, "Checklist for Resolving CONNECT AS SYSDBA (INTERNAL) Issues". This gives links to notes which leads you to maybe the solution.
Possibilities are:
- you are root, which is not allowed. You should connect with the oracle user
- your user is not part of the dba group
- permissions on files
- and many more
Herald ten Dam
http://htendam.wordpress.com -
Ora 12154 error when trying to add a database to VS Server Explorer
Hi Everyone,
I get the Ora 12154 error when trying to add a database to VS Server Explorer.
How do I get around this problem.
The database service is running and I can connect to the database with pl/sql.
I can also tnsping the database and that is also ok.
Looks like a problem with the odp.net software.
I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
I am new to this stuff so please help me step by step.
Thanks.
EmadHi J. B.
I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
Anyway here is the VB coding I used. I'm new to this and still learning:
Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
Public Class Form1
' String to connect to the database.
Dim strConnectionString As String = _
"Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
' Associate the connection string with a connection object.
Dim objOracleConnection As New OracleConnection(strConnectionString)
' SQL query for returning data rows.
Dim strSqlQuery As String = _
"Select dname, deptno " & _
"From dept " & _
"Where deptno = 10" '
' Command object to make this query work.
Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Identify what type of command is being used.
objOracleCommand.CommandType = CommandType.Text
Try
objOracleConnection.Open()
' Set up a Data Reader and load it with data.
Dim objOracleDataReader As OracleDataReader = _
objOracleCommand.ExecuteReader()
objOracleDataReader.Read()
' Convert the department number to a string.
lblDepartmentNumberFromOracle.Text = _
CStr(objOracleDataReader.Item("deptno"))
Catch ex As Exception
MessageBox.Show(ex.Message, "Error")
End Try
End Sub
End Class
I still want to thank you for the help you are providing.
Truly,
Emad -
ORA-0907 error when querying XMLDB Table using XMLExists
Hi All,
Get ORA-00907 error when trying to use XMLExists:
SELECT *
FROM tnmab_agreement_xml_binary A
WHERE
( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]')
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
OR
( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/NamedCustomerGroups/NamedCustomer/SAP_IDs/StringWrappers[Value="$ARG"]')
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
ORA-00907: missing right parenthesis
*00907. 00000 - "missing right parenthesis"*
**Cause:*
**Action:*
Error at Line: 6 Column: 176
Any help is appreciated
Thanks
AuroXMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]'
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")no ')' after the closing quote -
ORA-00054 error when loading Oracle table using Data Services
Hello,
we are facing ORA-00054 error when loading Oracle table using BO Data services
(Oracle 10g database, BODS Xi 3.2 SP3)
Test Job performs
1- truncate table
2- load table (tested in standard and bulk load modes)
Scenario when issue happens is:
1- Run loading Job
2- Job end in error for any Oracle data base error
3- When re-running the same Job, Job fails with following error
ORA-00054: resource busy and acquire with NOWAIT specified
It seems after first failure, Oracle session for loading the table stays active and locks the table.
To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
Thanks in advance
Paul-Mariethe ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
Or
AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
This Problem Occurs when we select The Bulkloading Option in orclae We also faced the same issue,Our admin has Killed the session. Then everything alright. -
i am trying to generate purchase order and i create a BAPI also which is active.
But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".Hi,
Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
This is my CODE-
FUNCTION ZBAPIPOTV2.
*"*"Local Interface:
*" IMPORTING
*" VALUE(POHD) TYPE ZPOHD OPTIONAL
*" VALUE(POITEM) TYPE ZPOITEM OPTIONAL
*" TABLES
*" RETURN STRUCTURE BAPIRET1 OPTIONAL
data: ls_pohd type bapimepoheader,
ls_pohdx TYPE bapimepoheaderx,
lt_poit TYPE TABLE OF bapimepoitem,
lt_poitx TYPE TABLE OF bapimepoitemx,
ls_poit TYPE bapimepoitem,
ls_poitx TYPE bapimepoitemx.
MOVE-CORRESPONDING pohd to ls_pohd.
MOVE-CORRESPONDING poitem to ls_poit.
ls_pohdx-comp_code = 'x'.
ls_pohdx-doc_type = 'x'.
ls_pohdx-vendor = 'x'.
ls_pohdx-purch_org = 'x'.
ls_pohdx-pur_group = 'x'.
ls_poit-po_item = '00010'.
APPEND ls_poit to lt_poit.
ls_poitx-po_item = '00010'.
ls_poitx-po_itemx = 'x'.
ls_poitx-material = 'x'.
ls_poitx-plant = 'x'.
ls_poitx-quantity = 'x'.
APPEND ls_poitx to lt_poitx.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = ls_pohd
POHEADERX = ls_pohdx
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* POEXPIMPHEADER =
* POEXPIMPHEADERX =
* VERSIONS =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* PARK_COMPLETE =
* PARK_UNCOMPLETE =
* IMPORTING
* EXPPURCHASEORDER =
* EXPHEADER =
* EXPPOEXPIMPHEADER =
TABLES
RETURN = return
POITEM = lt_poit
POITEMX = lt_poitx
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POEXPIMPITEM =
* POEXPIMPITEMX =
* POTEXTHEADER =
* POTEXTITEM =
* ALLVERSIONS =
* POPARTNER =
* POCOMPONENTS =
* POCOMPONENTSX =
* POSHIPPING =
* POSHIPPINGX =
* POSHIPPINGEXP =
* SERIALNUMBER =
* SERIALNUMBERX =
* INVPLANHEADER =
* INVPLANHEADERX =
* INVPLANITEM =
* INVPLANITEMX =
ENDFUNCTION.
i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". -
ORA-22813 error when deleting spatial objects in LIVE
Hi,
We are getting an ORA-22813 error when attempting to delete a spatial object from a version-enabled table in workspace LIVE. The spatial object to be removed has a SDO type of multipolygon. The geometry information consists of 4 rings with a combined ordinate count of 4120. The statement used to delete the row is:
delete from tableA where tableA.id in (select tableA.id from tableA where tableA.id = 3);
The error occurs only on a 10g R1 Oracle instance (10.1.0.5.0) with Workspace Manager version 10.1.0.7.1. The delete operation succeeds without problems on a 10g R2 (10.2.0.2.0) instance with Workspace Manager version 10.2.0.3.1. The statement is also executed successfully on the 10g R1 instance if the table is not version-enabled.
Any help on this would be appreciated.
ThanksHi,
I would recommend filing a TAR in this one. The only ora-22813 error involving workspace manager and geometry columns that I know about involves queries that need to sort data for which the size of the geometry column was >30k. Does the execution plan for the delete statement involve any kind of sort? However, this is an old 9.2 bug, that I believe was fixed for all 10.1 and newer releases.
Does the same error happen if you do not use the subquery?
Regards,
Ben -
ORA-907 ERROR WHEN IMPORT (COMMENT 처리)
제품 : ORACLE SERVER
작성날짜 : 1997-10-15
ORA-907 ERROR WHEN IMPORT (COMMENT 처리)
========================================
ORA-907: missing right parenthesis error
이 error 는 export 한 table 을 create 시 comment 를 사용한 경우 발생하는 ORACLE error 이다.
이는 version 8.0.4 에서 fix 되었다.
이를 해결하기 위해서는 미리 table create script 를 돌려 temp_table 을
create 하십시오.
이 때 comment 를 모두 뺀 상태로 create 한다. 또는 /* */ 는 괜찮다.
이후 INSERT INTO temp_table select * from original_table ;
을 실행합니다.
즉 original_table 을 temp_table 로 copy 한 후
drop table original_table;
rename temp_table to original_table ;
을 한 후 table을 다시 export해서 다른 machine으로 import한다.
또 이 -- 를 없애는 방법으로 아래의 C program을 이용할 수 있다.
/* file name : cnvt_dmp.c
* This program is to covert double dash remark expression
* C language stype remark expression.
#include <stdio.h>
#define MAXWORDS 4
char s_reserve[4][100]={ "NOT NULL", "CONSTRAINTS",")",","};
int dash2remark();
void main(argc,argv)
int argc;
char *argv[];
FILE f_in, f_out;
int i,j,lreserve;
int chr1,chr2;
char str1[100],str2[100],str3[100];
if( argc != 3 ) {
printf(" usage : cnvt_dmp infile.dmp outfile.dmp \n");
exit(0);
if( (f_in = fopen(argv[1],"r")) == NULL ) {
printf("could't open the source file.: %s\n",argv[1]);
exit(0);
if( (f_out = fopen(argv[2],"w")) == NULL ) {
printf("대상화일을 생성할 수가 없습니다.\n");
exit(0);
j = i = 0;
while( (chr1 = fgetc(f_in)) != EOF && !ferror(f_in)) {
if( chr1 == 'D' ) {
str1[0]='D';
fputc(chr1, f_out) ;
for(i=1;i<7;i++) {
chr1 = fgetc(f_in);
str1[i] = chr1;
fputc(chr1, f_out) ;
str1[7] = 0;
strcpy( str2,"DEFAULT");
if ( strcmp( "DEFAULT",str1) == 0 ) {
lreserve = 0;
i =0;
while( (chr2 = fgetc(f_in))!= ','){
if ( chr2 == ')') break;
str2[i] = chr2;
if ( chr2 == '-' )
lreserve = 1;
i++;
str2[i] = chr2;
str2[i+1] = 0;
printf(" lreserv => %d, str2=>%s\n",lreserve,str2);
if (lreserve) {
dash2remark(f_in,f_out,str2);
else {
for( i=0;i<strlen(str2);i++) fputc(str2,f_out);
else {
fputc(chr1, f_out );
fclose(f_out);
fclose(f_in);
return;
int dash2remark( f_in,f_out,str)
FILE f_in,f_out;
char *str;
int i,j,start_pos=-1,end_pos=-1;
for( i=0; i < strlen(str); i++ ) {
if ( str[i] == '-') {
start_pos = i;
for( j =0 ; j < MAXWORDS; j++){
if (strncmp(s_reserve[j],str+i,strlen(s_reserve[j]))== 0){
end_pos = i;
if ( start_pos > 0 ) {
for(i=0;i< (start_pos-1); i++)
fputc( str[i],f_out);
fputc('/',f_out); fputc('*',f_out);
for(i =i+2;i<(end_pos-1);i++)
fputc(str[i],f_out);
fputc('*',f_out); fputc('/',f_out);fputc(' ',f_out);
for(i;i<strlen(str);i++)
fputc(str[i],f_out);
else {
for(i=0;i<strlen(str);i++)
fputc(str[i],f_out);
return(1);
이상입니다.Hi, i think that the problem is around the rollback segments.The solution is bring other rollback segments ONLINE state, if not exist others rollbackup,then you need create the other rollback segments and bring online state.
If you need more information, you will must see the next DOC-ID on Metalink site,
Note:121971.1
Luck.
Have a good day.
Regards.
Maybe you are looking for
-
I bought an itunes gift card and I would like to redeem it on my ipod touch. How do I redeem it without using a computer. When I go to my account information on the ipod it only asks me for my credit card information.
-
How to downgrade iTunes 12 to 11.4?
I recently upgraded iTunes to 12.0.1 and want to downgrade back to 11.4. I run the 11.4 installer and it says "A newer version of iTunes is already installed." So I use the terminal to delete it (sudo rm -rf /Applications/iTunes.app/) and also trash
-
At Selection-screen using BADI
I have to add validation logic to some fields (for user inputs ) on the selection screen in transaction MEAN. There is a BADI (ADDRESS_UPDATE)which can be used to add something while address update. Is it possible in a BADI in general to achive the
-
Hi. I am new to ColdFusion, and I am trying to get it working with Flex 3 and MySQL. Everything works fine if I use HTTP and a CFM file. Now I am trying to use a RemoteObject with a CF Component as the source. I know the CFC is configured correctly b
-
Heya guys, I did all the googling I could and I am having no luck with this one... I picked up a new sound card from Best Buy the other day, it's a Creative Sound Blaster X-Fi Xtreme Audio, and it seems nice enough, except for three little problems I