ORACLE error 29283 in FDPSTP
Hi Team.
We have a DB 11.1.0.07 ON HP-UX 11.23 64 Bits. and wr have this error;
ORACLE error 29283 in FDPSTP
**Starts**27-SEP-2013 12:05:10
ORACLE error 29283 in FDPSTP
Cause: FDPSTP failed due to ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
ORA-06512: at "APPS.FLC_OPM_INTERFACE", line 119
ORA-06512: at line 1
Generando archivo: /homeoa/proaut2/PROD/OP/OPM130927120510.dat
Invalida Operacion
Guido
938302 wrote:
Hi Team.
We have a DB 11.1.0.07 ON HP-UX 11.23 64 Bits. and wr have this error;
ORACLE error 29283 in FDPSTP
**Starts**27-SEP-2013 12:05:10
ORACLE error 29283 in FDPSTP
Cause: FDPSTP failed due to ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
ORA-06512: at "APPS.FLC_OPM_INTERFACE", line 119
ORA-06512: at line 1
Generando archivo: /homeoa/proaut2/PROD/OP/OPM130927120510.dat
Invalida Operacion
Guido
[oracle@localhost ~]$ oerr ora 29283
29283, 00000, "invalid file operation"
// *Cause: An attempt was made to read from a file or directory that does
// not exist, or file or directory access was denied by the
// operating system.
// *Action: Verify file and directory access privileges on the file system,
// and if reading, verify that the file exists.
Similar Messages
-
Error in running request: ORACLE error 20100 in FDPSTP
Got following error when running a concurrent manager job:
ORACLE error 20100 in FDPSTP
Cause: FDPSTP failed due to ORA-20100: File o0002562.tmp creation for FND_FILE failed.
You will find more information on the cause of the error in request log.
ORA-06512: at "APPS.FND_FILE", line 410
ORA-06512
From the request logfile:
APPPRSPR module: Payment Process Manager
ORACLE error 20100 in FDPSTP
Cause: FDPSTP failed due to ORA-20100: File o0002562.tmp creation for FND_FILE failed.
You will find more information on the cause of the error in request log.
ORA-06512: at "APPS.FND_FILE", line 410
ORA-06512: at "APPS.FND_
Any idea?
ThanksWe discussed this issue many times in the forum before; please go through old threads and it should be helpful in fixing this issue -- https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-20100&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
hi
i have this code with me ,a custom code which wrked fine till i added few lines of code for sequence number generation(eg 2010-0001, ie YYYY-xxxx format)
CREATE OR REPLACE PROCEDURE Nap_Create_Job (ERRBUF OUT VARCHAR2,RETCODE OUT NUMBER,P_Job_Number VARCHAR2
)IS
BEGIN
DECLARE
g_eam_wo_relations_tbl0 Eam_Process_Wo_Pub.eam_wo_relations_tbl_type;
g_eam_wo_relations_rec Eam_Process_Wo_Pub.eam_wo_relations_rec_type;
g_eam_op_rec0 Eam_Process_Wo_Pub.eam_op_rec_type;
g_eam_op_rec1 Eam_Process_Wo_Pub.eam_op_rec_type;
g_eam_op_tbl2 Eam_Process_Wo_Pub.eam_op_tbl_type;
g_eam_op_network_rec0 Eam_Process_Wo_Pub.eam_op_network_rec_type;
g_eam_op_network_rec1 Eam_Process_Wo_Pub.eam_op_network_rec_type;
g_eam_mat_req_rec0 Eam_Process_Wo_Pub.eam_mat_req_rec_type;
g_eam_mat_req_rec1 Eam_Process_Wo_Pub.eam_mat_req_rec_type;
g_eam_di_rec0 Eam_Process_Wo_Pub.eam_direct_items_rec_type;
g_eam_di_rec1 Eam_Process_Wo_Pub.eam_direct_items_rec_type;
g_eam_res_rec0 Eam_Process_Wo_Pub.eam_res_rec_type;
g_eam_res_rec1 Eam_Process_Wo_Pub.eam_res_rec_type;
g_eam_res_inst_rec0 Eam_Process_Wo_Pub.eam_res_inst_rec_type;
g_eam_res_inst_rec1 Eam_Process_Wo_Pub.eam_res_inst_rec_type;
g_eam_op_tbl0 Eam_Process_Wo_Pub.eam_op_tbl_type;
g_eam_op_tbl1 Eam_Process_Wo_Pub.eam_op_tbl_type;
g_eam_op_network_tbl0 Eam_Process_Wo_Pub.eam_op_network_tbl_type;
g_eam_res_tbl0 Eam_Process_Wo_Pub.eam_res_tbl_type;
g_eam_res_inst_tbl0 Eam_Process_Wo_Pub.eam_res_inst_tbl_type;
g_eam_sub_res_tbl0 Eam_Process_Wo_Pub.eam_sub_res_tbl_type;
g_eam_res_usage_tbl0 Eam_Process_Wo_Pub.eam_res_usage_tbl_type;
g_eam_mat_req_tbl0 Eam_Process_Wo_Pub.eam_mat_req_tbl_type;
g_eam_di_tbl0 Eam_Process_Wo_Pub.eam_direct_items_tbl_type;
g_out_eam_wo_relations_tbl Eam_Process_Wo_Pub.eam_wo_relations_tbl_type;
g_out_eam_wo_rec Eam_Process_Wo_Pub.eam_wo_rec_type;
g_out_eam_wo_tbl Eam_Process_Wo_Pub.eam_wo_tbl_type;
g_out_eam_op_tbl Eam_Process_Wo_Pub.eam_op_tbl_type;
g_out_eam_op_network_tbl Eam_Process_Wo_Pub.eam_op_network_tbl_type;
g_out_eam_res_tbl Eam_Process_Wo_Pub.eam_res_tbl_type;
g_out_eam_res_inst_tbl Eam_Process_Wo_Pub.eam_res_inst_tbl_type;
g_out_eam_sub_res_tbl Eam_Process_Wo_Pub.eam_sub_res_tbl_type;
g_out_eam_res_usage_tbl Eam_Process_Wo_Pub.eam_res_usage_tbl_type;
g_out_eam_mat_req_tbl Eam_Process_Wo_Pub.eam_mat_req_tbl_type;
g_out_eam_di_tbl Eam_Process_Wo_Pub.eam_direct_items_tbl_type;
g_eam_wo_rec1 Eam_Process_Wo_Pub.eam_wo_rec_type;
g_eam_wo_rec2 Eam_Process_Wo_Pub.eam_wo_rec_type;
g_eam_wo_rec3 Eam_Process_Wo_Pub.eam_wo_rec_type;
g_eam_wo_tbl0 Eam_Process_Wo_Pub.eam_wo_tbl_type;
g_eam_wo_tbl1 Eam_Process_Wo_Pub.eam_wo_tbl_type;
g_eam_wo_tbl2 Eam_Process_Wo_Pub.eam_wo_tbl_type;
g_eam_wo_res_usg_tbl0 Eam_Process_Wo_Pub.eam_res_usage_tbl_type;
l_return_status VARCHAR2(1);
l_msg_count NUMBER;
P_Date DATE ;
g_eam_wo_usg_rec1 Eam_Process_Wo_Pub.eam_res_usage_rec_type;
g_eam_wo_usg_rec2 Eam_Process_Wo_Pub.eam_res_usage_rec_type;
L_Asset_Activity_id NUMBER;
L_OPERATION_SEQ_NUM NUMBER;
v_loop_counter NUMBER := 10 ;
L_Inv_Item_Id NUMBER;
l_Foam NUMBER;
v_COUNT_J NUMBER := 0 ;
l_Qty NUMBER;
l_dept NUMBER;
l_rig VARCHAR2(130);
V_CELL VARCHAR2(13);
l_well VARCHAR2(130);
l_field VARCHAR2(130);
l_job VARCHAR2(130);
Att_Field VARCHAR2(130);
Att_Well VARCHAR2(130);
Att_Rig VARCHAR2(130);
Att_lab_test_No VARCHAR2(30);
Att_Client VARCHAR2(300);
Att_contract VARCHAR2(30);
Att_material_order_type VARCHAR2(30);
Att_service_order_type VARCHAR2(30);
l_rig_Value NUMBER;
Att_Field1 VARCHAR2(30);
Att_Well1 VARCHAR2(30);
Att_Rig1 VARCHAR2(30);
Att_Job_type VARCHAR2(30);
Att_Job VARCHAR2(30);
V_OPN_JOB_DESC VARCHAR2(60);
Field_Distance NUMBER;
L_Sum_Pound NUMBER;
L_Sum_Cement NUMBER;
L_Cnt NUMBER;
L_Sum_Pound_Amount NUMBER;
L_Sum_Cement_Amount NUMBER;
L_Slurry_Vol NUMBER;
L_Sum NUMBER;
L_ITEM_count NUMBER;
L_ITEM_count1 NUMBER;
V_wip_entity_id NUMBER;
V_Run_API NUMBER:=1;
V_Invoice_no VARCHAR2(20);
CURSOR C1 IS
SELECT job , ORG_JOB_NUMBER job_number, job_type, entry_date, class_code cell
FROM xxnp_opn_joblog_001
WHERE ORG_JOB_NUMBER = p_job_number
and Rownum =1 ;
CURSOR C3 IS
SELECT Distinct
SUBSTR ( DTL.DATA_DESCRIPTION ,1,240) DATA_DESCRIPTION
FROM XXNP_OPN_JOBLOG_DATA_009 DTL ,
XXNP_OPN_JOBLOG_001 MST
WHERE
MST.OPN_JOBLOG_001_ID = DTL.OPN_JOBLOG_001_ID
AND ORG_JOB_NUMBER = p_job_number;
BEGIN
BEGIN
SELECT ENTRY_DATE , Field, well , rig, CUSTOMER_NAME,contract, MATERIAL_ORDER_TYPE,SERVICES_ORDER_TYPE ,job_type,job , CLASS_CODE
INTO P_Date , Att_Field,Att_Well,Att_Rig,Att_Client,Att_contract, Att_material_order_type,Att_service_order_type,Att_Job_type,Att_Job ,v_CELL
FROM XXNP_OPN_JOBLOG_001
WHERE ORG_JOB_NUMBER = P_Job_Number
and Rownum =1 ;
EXCEPTION WHEN OTHERS THEN
V_Run_API := 0 ;
Fnd_File.Put_Line(FND_FILE.LOG, 'Inset Correct Job Number for this Request ' ) ;
END;
BEGIN
SELECT department_id INTO l_dept
FROM BOM_DEPARTMENTS
WHERE DEPARTMENT_CODE = 'OPERATIONS';
EXCEPTION WHEN OTHERS THEN l_dept := 0;
END;
If v_CELL is null then
Fnd_File.Put_Line(FND_FILE.LOG, 'Inset Cell Number for this Job ' ) ;
V_Run_API := 0 ;
End if ;
IF V_Run_API <> 0 then
g_eam_wo_rec1 := NULL;
g_eam_wo_rec1.transaction_type := Eam_Process_Wo_Pvt.G_OPR_CREATE;
g_eam_wo_rec1.batch_id := 1;
g_eam_wo_rec1.header_id := 1;
g_eam_wo_rec1.wip_entity_id := NULL;
g_eam_wo_rec1.wip_entity_name := P_job_number;
g_eam_wo_rec1.Asset_Activity_Id := L_Asset_Activity_id;
g_eam_wo_rec1.organization_id := 104;
g_eam_wo_rec1.asset_group_id := 31759;
g_eam_wo_rec1.asset_number := 'NAPESCO OPERATIONS';
g_eam_wo_rec1.rebuild_item_id := NULL;
g_eam_wo_rec1.rebuild_serial_number := NULL;
g_eam_wo_rec1.maintenance_object_source := 1;
g_eam_wo_rec1.maintenance_object_type := 1;
g_eam_wo_rec1.maintenance_object_id := 346;
g_eam_wo_rec1.parent_wip_entity_id := NULL;
g_eam_wo_rec1.manual_rebuild_flag := NULL;
g_eam_wo_rec1.owning_department := 1;
g_eam_wo_rec1.description := 'Created From Job Log';
g_eam_wo_rec1.class_code := V_CELL ;
g_eam_wo_rec1.status_type := 3;
g_eam_wo_rec1.date_released := P_Date ;
g_eam_wo_rec1.firm_planned_flag := 2;
g_eam_wo_rec1.scheduled_start_date := P_Date;
g_eam_wo_rec1.requested_start_date := P_Date;
g_eam_wo_rec1.scheduled_completion_date := P_Date;
g_eam_wo_rec1.material_issue_by_mo := 'N';
g_eam_wo_rec1.priority := 10;
g_eam_wo_rec1.issue_zero_cost_flag := 'Y';
g_eam_wo_rec1.po_creation_time := 1;
g_eam_wo_rec1.job_quantity := 1;
g_eam_wo_rec1.notification_required := 'N';
g_eam_wo_rec1.Attribute1 := Att_Well;
g_eam_wo_rec1.Attribute2 := Att_Rig;
g_eam_wo_rec1.Attribute4 := Att_Client;
g_eam_wo_rec1.Attribute5 := Att_contract;
g_eam_wo_rec1.Attribute6 := Att_material_order_type;
g_eam_wo_rec1.Attribute7 := Att_service_order_type;
g_eam_wo_rec1.Attribute8 := Att_Field;
g_eam_wo_rec1.Attribute9 := Att_Job_type;
g_eam_wo_rec1.Attribute10 := Att_Job;
g_eam_wo_tbl0(1) := g_eam_wo_rec1;
Eam_Process_Wo_Pub.PROCESS_WO
( p_bo_identifier => 'EAM'
, p_api_version_number => 1.0
, p_init_msg_list => TRUE
, p_commit => 'N'
, p_eam_wo_rec => g_eam_wo_rec1
, p_eam_op_tbl => g_eam_op_tbl2
, p_eam_op_network_tbl => g_eam_op_network_tbl0
, p_eam_res_tbl => g_eam_res_tbl0
, p_eam_res_inst_tbl => g_eam_res_inst_tbl0
, p_eam_sub_res_tbl => g_eam_sub_res_tbl0
, p_eam_res_usage_tbl => g_eam_res_usage_tbl0
, p_eam_mat_req_tbl => g_eam_mat_req_tbl0
, p_eam_direct_items_tbl => g_eam_di_tbl0
, x_eam_wo_rec => g_eam_wo_rec2
, x_eam_op_tbl => g_out_eam_op_tbl
, x_eam_op_network_tbl => g_out_eam_op_network_tbl
, x_eam_res_tbl => g_out_eam_res_tbl
, x_eam_res_inst_tbl => g_out_eam_res_inst_tbl
, x_eam_sub_res_tbl => g_out_eam_sub_res_tbl
, x_eam_res_usage_tbl => g_out_eam_res_usage_tbl
, x_eam_mat_req_tbl => g_out_eam_mat_req_tbl
, x_eam_direct_items_tbl => g_out_eam_di_tbl
, x_return_status => l_return_status
, x_msg_count => l_msg_count
, p_debug => 'Y'
, p_output_dir => '/usr/tmp'
, p_debug_filename => 'eambo24.log'
, p_debug_file_mode => 'w'
--------------------------------------------------- inserting Operation------------------------------------- -----------------------------------
FOR I IN C3 LOOP
g_eam_op_rec1.header_id := 1;
g_eam_op_rec1.ROW_id := 1;
g_eam_op_rec1.batch_id := 1;
g_eam_op_rec1.WIP_ENTITY_ID :=g_eam_wo_rec2.wip_entity_id;
V_wip_entity_id :=g_eam_wo_rec2.wip_entity_id;
g_eam_op_rec1.ORGANIZATION_ID := 104 ;
g_eam_op_rec1.OPERATION_SEQ_NUM := v_loop_counter ;
g_eam_op_rec1.DEPARTMENT_ID := l_dept ;
g_eam_op_rec1.DESCRIPTION := I.DATA_DESCRIPTION ;
g_eam_op_rec1.START_DATE := SYSDATE ;
g_eam_op_rec1.COMPLETION_DATE := SYSDATE ;
g_eam_op_rec1.OPERATION_SEQUENCE_ID := v_loop_counter ;
g_eam_op_rec1.TRANSACTION_TYPE:= 1;
v_loop_counter := v_loop_counter +10 ;
g_eam_op_tbl2 (1) := g_eam_op_rec1 ;
Eam_Process_Wo_Pub.PROCESS_MASTER_CHILD_WO
( p_bo_identifier => 'EAM'
, p_api_version_number => 1.0
, p_init_msg_list => TRUE
, p_commit => 'N'
, p_eam_wo_relations_tbl => g_eam_wo_relations_tbl0
, p_eam_wo_tbl => g_eam_wo_tbl2
, p_eam_op_tbl => g_eam_op_tbl2
, p_eam_op_network_tbl => g_eam_op_network_tbl0
, p_eam_res_tbl => g_eam_res_tbl0
, p_eam_res_inst_tbl => g_eam_res_inst_tbl0
, p_eam_sub_res_tbl => g_eam_sub_res_tbl0
, p_eam_mat_req_tbl => g_eam_mat_req_tbl0
, p_eam_direct_items_tbl => g_eam_di_tbl0
, x_eam_wo_tbl => g_eam_wo_tbl1
, x_eam_wo_relations_tbl => g_out_eam_wo_relations_tbl
, x_eam_op_tbl => g_out_eam_op_tbl
, x_eam_op_network_tbl => g_out_eam_op_network_tbl
, x_eam_res_tbl => g_out_eam_res_tbl
, x_eam_res_inst_tbl => g_out_eam_res_inst_tbl
, x_eam_sub_res_tbl => g_out_eam_sub_res_tbl
, x_eam_mat_req_tbl => g_out_eam_mat_req_tbl
, x_eam_direct_items_tbl => g_out_eam_di_tbl
, x_return_status => l_return_status
, x_msg_count => l_msg_count
, p_debug => 'Y'
, p_output_dir => '/usr/tmp'
, p_debug_filename => 'eambo26.log'
, p_debug_file_mode => 'w'
END LOOP ;
End if ;
/*NEWLY ADDED ON 8TH FEB FOR SEQ NUM*/
Begin
Select
to_char (sysdate , 'RRRR') || '-' || nvl (lpad ( to_char ( max ( to_number ( ( substr ( attribute7 , 6, instr ( substr ( attribute7 , 6 ),'-')-1 )) ) )+1 ) , 4,'0'),'0001')
into V_Invoice_no
From (
Select ATTRIBUTE7 from OE_HEADERS_IFACE_ALL where ATTRIBUTE7 is not null union All
Select ATTRIBUTE7 from OE_ORDER_HEADERS_all where ATTRIBUTE7 is not null
where substr ( ATTRIBUTE7,1,4 ) = to_char (sysdate , 'RRRR') ;
Exception
when others then
select to_char (sysdate , 'RRRR')||'-0001' into V_Invoice_no from dual ;
End ;
INSERT INTO WIP_DISCRETE_JOBS
(ATTRIBUTE14 )
VALUES
(V_Invoice_no );
------ Material creation
Napesco_Work_Order_Api_Res ( p_JOB_NUMBER , g_eam_wo_rec2.wip_entity_id ) ;
------ services creation
Napesco_Work_Order_Api ( p_JOB_NUMBER , g_eam_wo_rec2.wip_entity_id ) ;
UPDATE wip_discrete_jobs
SET CREATION_DATE = P_Date
WHERE wip_entity_id = v_wip_entity_id
AND ROWNUM =1 ;
UPDATE XXNP_OPN_JOBLOG_001
SET WO_FLAG = 'Y' ,
WO_date = SYSDATE
WHERE ORG_JOB_NUMBER = P_Job_Number ;
Fnd_File.Put_Line(FND_FILE.LOG, 'Work Order ' || P_job_number || ' Successfully ' ) ;
END LOOP;
END ;
/just to be clear this is the code i included
/*NEWLY ADDED ON 8TH FEB FOR SEQ NUM*/
Begin
Select
to_char (sysdate , 'RRRR') || '-' || nvl (lpad ( to_char ( max ( to_number ( ( substr ( attribute7 , 6, instr ( substr ( attribute7 , 6 ),'-')-1 )) ) )+1 ) , 4,'0'),'0001')
into V_Invoice_no
From (
Select ATTRIBUTE7 from OE_HEADERS_IFACE_ALL where ATTRIBUTE7 is not null union All
Select ATTRIBUTE7 from OE_ORDER_HEADERS_all where ATTRIBUTE7 is not null
where substr ( ATTRIBUTE7,1,4 ) = to_char (sysdate , 'RRRR') ;
Exception
when others then
select to_char (sysdate , 'RRRR')||'-0001' into V_Invoice_no from dual ;
End ;
INSERT INTO WIP_DISCRETE_JOBS
(ATTRIBUTE14 )
VALUES
(V_Invoice_no );but i am getting this error
Enterprise Asset Management: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
NAPESCO_CREATE_JOB module: NAP Create Work Order
Current system time is 10-FEB-2011 11:44:37
**Starts**10-FEB-2011 11:44:38
ORACLE error 29282 in FDPSTP
Cause: FDPSTP failed due to ORA-29282: invalid file ID
ORA-06512: at "SYS.UTL_FILE", line 774
ORA-06512: at "APPS.EAM_ERROR_MESSAGE_PVT", line 1987
ORA-06512: at "APPS.EAM_ERROR_MESSAGE_PVT", line 1197
ORA-065
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
Exceptions posted by this request:
Concurrent Request for "NAP Create Work Order" has completed with error.
Concurrent request completed
Current system time is 10-FEB-2011 11:44:42
kindly guide me
thanking in advancehi
i just found out ever since i added my peice of code to the already wrking fine concurrent pgm this error is showing
so i figure the prob is with my peice of code which i added
i require a sequence number generation
ie YYYY-0001 format till 9999
say a job is registered in the year 2011 on feb 2 the sequence wud be 2011 -0001
on feb 3 for another job it wud be 2011-0002
well this wht i tried
/*NEWLY ADDED ON 8TH FEB FOR SEQ NUM*/
Begin
select to_char (sysdate , 'RRRR')||'-0001' into V_Invoice_no from dual ;
End ;
INSERT INTO WIP_DISCRETE_JOBS
(ATTRIBUTE14 )
VALUES
(V_Invoice_no );but will it increment from 0001 to 0002
kindly guide me
thanking in advance
Edited by: makdutakdu on Feb 10, 2011 1:56 PM -
URG: ORACLE ERROR 6502 IN FDPSTP IN PICK SELECTION LIST GENERATION
Dear All,
I'm on 11.5.7 on Linux.
My problem is with WSHPSGL: Pick Selection List Generation that ends with error when launched from transactions form.
The program end with the following error:
Oracle Shipping: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
WSHPSGL module: Pick Selection List Generation
Current system time is 14-NOV-2002 11:26:13
**Starts**14-NOV-2002 11:26:14
ORACLE error 6502 in FDPSTP
Cause: FDPSTP failed due to ORA-06502: PL/SQL: numeric or value error:
character to number conversion error
ORA-06512: at line 1
If we launch the report trough OM Superuser - Shipping - Release Sales Orders -
Release Sales Orders, there's no error.
Has anyone have this kind of error? How can we solve it?
Any help would be greatly appreciated.
Thanks in advance
FGEBS is 11.5.10.2
OS is OEL 5.3.
It was running fine until yesterday.But its giving error today.
error log shows exception in Release_Batch_SRS procedure.
exact code is ---
++++++++++++++++++++++++
IF G_CONC_REQ = FND_API.G_TRUE THEN
l_ret_code := FND_CONCURRENT.SET_COMPLETION_STATUS('ERROR','');
errbuf := 'Exception occurred in Release_Batch_SRS';
retcode := '2';
END IF;
++++++++++++++++++++++
Thanks,
Rakesh -
Hi
In select statement i used view TPC_ORDER_REPORT_V
Previously report runs without error,
but i have changed view i.e. removed one column from this view , and when try to run it gives following error
**Starts**17-JAN-2013 13:25:06
ORACLE error 20001 in FDPSTP
Cause: FDPSTP failed due to ORA-20001:
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.TPC_ORDER_REPORTS_PKG", line 715
ORA-06512: at line 1
The SQL statement being executed at the time of the error was: S
Can anyone help me to resolve it
Thanks,
Sunil
Edited by: 973411 on Jan 16, 2013 10:44 PM
Edited by: 973411 on Jan 16, 2013 10:45 PMHi Kishore,
I have executed your query
select * from dba_objects where status='INVALID' and object_name='TPC_ORDER_REPORTS_PKG';
Result : Blank record
Means not any row fetch. I have checked executing following query.
select * from dba_objects where status='VALID' and object_name='TPC_ORDER_REPORTS_PKG';
result:
OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY
APPS TPC_ORDER_REPORTS_PKG 571808 PACKAGE 1/13/2011 8:53:20 PM 1/7/2013 6:10:40 AM 2013-01-07:06:10:40 VALID N N N
APPS TPC_ORDER_REPORTS_PKG 571811 PACKAGE BODY 1/13/2011 9:18:15 PM 1/15/2013 8:02:03 PM 2013-01-15:20:02:03 VALID N N N
Hence I sure package is valid .......
Edited by: 973411 on Jan 21, 2013 4:05 AM
Edited by: 973411 on Jan 21, 2013 4:06 AM -
ORACLE error 1847 in FDPSTP while running concurrent program
When I try to run concurrent program getting below error
ORACLE error 1847 in FDPSTP
Cause: FDPSTP failed due to ORA-01847: day of month must be between 1 and last day of month
ORA-06512: at line 1
Parameters
Org_id number
Date select sysdate from dual;
Executable
PROCEDURE call_iptp15c (
p_operating_unit_in IN ap_invoices_all.org_id%TYPE,
p_start_date_in IN DATE,
ERROR_BUF OUT VARCHAR2,
RETCODE OUT VARCHAR2
What would be the reason for this.Hi,
Please mention the application release along with the database version and OS.
Is this a custom or seeded concurrent program?
Please make sure you use a valid date format -- Note: 19171.1 - OERR: ORA 1847 day of month must be between 1 and last day of month
Thanks,
Hussein -
Capturing oracle error codes into a variable
Hi
Can someone show me how it is possible to save an Oracle defined error code into a variable? What I am trying to do is when a stored procedure fails an Oracle error is raised, such as ORA-xxxx, then pass this code into variable to be saved into a log.
How do I achieve this?user633278 wrote:
How do I achieve this?Function SQLCODE in PL/SQL exception handler returns error code. SQLERRM returns message:
SQL> declare
2 x number;
3 begin
4 x := 1/0;
5 exception
6 when others
7 then
8 dbms_output.put_line('Error code: ' || SQLCODE);
9 dbms_output.put_line('Error message: ' || SQLERRM);
10 end;
11 /
Error code: -1476
Error message: ORA-01476: divisor is equal to zero
PL/SQL procedure successfully completed.
SQL> SY. -
Oracle errors in Weblogic Error logs appear in non english
We have a problem with weblogic error logging. Specifically, in a managed server's log file, Oracle errors such as ORA-XXXX show in Greek, not English. We are assuming
that this is because the timezone is Europe/Athens. However, the weblogic application server runs with user.language=en, user.country=US. What's more, there are 4 application servers and 2 of them have this problem. The oracle database is accessed via weblogic datasources.
Oracle database server Setup: Oracle Server 11gR2 running on Oracle Linux 64 bit, timezone set to Europe/Athens
Weblogic Server: Weblogic 10.3.5 running on Oracle Linux 64 bit, timezone set to Europe/Athens
The managed server, according to jrockit, the jvm runs with the following language related system properties:
user.language=en, user.country=US, user.timezone=Europe/Athens
The question is: How do we tell oracle / weblogic to log english text for the ORA errors?
Thanks,
ChrisI digged in the weblogic installation directory and it seems like the domain configuration wizard messed up the jdbc configs for the data sources.
The config xml files for the data sources in the /domain root/config/jdbc directory had oracle driver but the test query was for pointbase. I double checked from the database.xml file in the init-info directory and corrected the entry in the datasource config xmls and voila!.. the errors were gone.
I am not sure if this was the right approach and whether i have solved the issue or simply patched it.. so I am keeping the question open. If any one has any inputs I will be grateful.
If the mods/admins feel that the thread should be marked as solved I will surely do so.
Thanks. -
[SOLVED] FRM-40508:ORACLE error: unable to INSERT record
Hi all,
I have migrated this form from 4.5 to 10g (Version 10.1.2.0.2 ). This form inserts a record into the database table when all the fields in the form are filled and a button Save is presed.
At the time when I press the Save button, I get this error. FRM-40508:ORACLE error: unable to INSERT record
So I went on to see the "Display Error" from help and found to be the database error, inserting into a table.
The error message is ORA-00932: inconsistent datatypes: expected DATE got NUMBER
The form where I press Save button has 3 date fields and I checked the properties of them and they are Date only.
I also generated to object list report and tried to find some answer, but no use.
Please help me in debugging this form.
Edited by: Charan on Aug 18, 2011 4:05 PMI think you need to get a description of the table and compare all the "database" columns in the form with the ones in the database table to see that the types match. Somewhere there's a mismatch. Also check the block(s) "query data source columns" and see if there's any
columns in there that the type does not match the table. (check the sizes of things too while you're at it.) -
Oracle error 1012 ("Not Logged On") & AUTOTRAN=Y
Hi.
I have a problem trying to access an Oracle 8.0.6
database from a 6.5 Tuxedo server.
Both TMS and server execute tpopen correctly
All services are declared as AUTOTRAN
Everything seems to be OK according to the logsgenerated by Oracle XA libraries
However, I always get the Oracle error 1012 ("Not Logged On")
when executing SQL statements from my pro*C server.
I just can't figure out why this error occurs.
I also tried to explicitly open a transaction from the client,
but the result is exactly the same (tpbegin is successfull,
however).
Could someone help me to make this work ?
Thanks.Solved by removing "DB=<db>" from my OPENINFO string, as far as this parameter
should only be used when using proc*C "EXEC SQL ... AT <db>" statements.
"Mathieu Chauvin" <[email protected]> wrote:
>
Hi.
I have a problem trying to access an Oracle 8.0.6
database from a 6.5 Tuxedo server.
Both TMS and server execute tpopen correctly
All services are declared as AUTOTRAN
Everything seems to be OK according to the logsgenerated by Oracle XA libraries
However, I always get the Oracle error 1012 ("Not Logged On")
when executing SQL statements from my pro*C server.
I just can't figure out why this error occurs.
I also tried to explicitly open a transaction from the client,
but the result is exactly the same (tpbegin is successfull,
however).
Could someone help me to make this work ?
Thanks. -
Oracle error ORA-01461when trying to insert into an ORACLE BLOB field
I am getting Oracle error ‘ORA-01461: can bind a LONG value only for insert into a LONG column' when trying to insert into an ORACLE BLOB field. The error occurs when trying to insert a large BLOB (JPG), but does not occur when inserting a small (<1K) picture BLOB.(JPG). Any ideas?
BTW, when using a SQL Server datasource using the same code.... everything works with no problems.
ORACLE version is 11.2.0.1
The ORACLE datasource is JDBC using Oracle's JDBC driver ojdbc6.jar v11.2.0.1 (I also have tried ojdbc5.jar v11.2.0.1; ojdbc5.jar v11.2.0.4; and ojdbc6.jar v11.2.0.4 with the same error result.)
Here is my code:
<cfset file_mime = Lcase(Right(postedXMLRoot.objname.XmlText, 3))>
<cfif file_mime EQ 'jpg'><cfset file_mime = 'jpeg'></cfif>
<cfset file_mime = 'data:image/' & file_mime & ';base64,'>
<cfset image64 = ImageReadBase64("#file_mime##postedXMLRoot.objbase64.XmlText#")>
<cfset ramfile = "ram://" & postedXMLRoot.objname.XmlText>
<cfimage action="write" source="#image64#" destination="#ramfile#" overwrite="true">
<cffile action="readbinary" file="#ramfile#" variable="image_bin">
<cffile action="delete" file="#ramfile#">
<cfquery name="InsertImage" datasource="#datasource#">
INSERT INTO test_images
image_blob
SELECT
<cfqueryparam value="#image_bin#" cfsqltype="CF_SQL_BLOB">
FROM dual
</cfquery>Can't you use "alter index <shema.spatial_index_name> rebuild ONLINE" ? Thanks. I could switch to "rebuild ONLINE" and see if that helps. Are there any potential adverse effects going forward, e.g. significantly longer rebuild than not using the ONLINE keyword, etc? Also wondering if spatial index operations (index type = DOMAIN) obey all the typical things you'd expect with "regular" indexes, e.g. B-TREE, etc.
-
Oracle error ORA-604 when opening a connection
I am facing an issue with my WCF service which is using ODP.NET version 4.112.2.0(x64) and Oracle 11g.
The service runs without any problems on the test servers but on production server (Windows 2008 R2) when an attempt is made to call any service method it fails with the following Oracle error code Ora-604. the message is
ORA-604: error occurred at recursive SQL level %s
The exception is thrown when a call to meethod Open is made to open a connection.
There is no inner exception. So far I have tried checking the connection string, the user permissions and setting the TNS_ADMIN environment variable but nothing has worked.
Another thing to mention is that another WCF service which uses some of the same stored procedure I am using is working fine on the same server.
Has anyone seen this before?
Thanks,
ADo you have a login trigger?
select * from dba_triggers where triggering_event like 'LOGON%'
If so, try disabling it.
Does the working service use the same credentials as this problem service?
Are you able to connect using sqlplus, with the same credentials from the same client to the same database? If it's not an ODP.NET specific problem, the dba guys might be able to help better: General Database Discussions
Greg -
Is there a listing or book of oracle error codes?
i am looking for a book of oracle error codes. Is there someplae where I can find them online or anywhere really.
thanksSee the following URL gives you a list of oracle messages and actions to be done
http://ora-doc.cict.fr:7777/server.815/a67785/toc.htm -
Oracle Error from inserting a table from a table
Hi all,
We got a oracle error, as following,
Thu Mar 2 16:34:03 2006
Errors in file /oracle1/app/oracle/admin/M3US/udump/ora_1773234_m3us.trc:
ORA-00600: internal error code, arguments: [4518], [], [], [], [], [], [], []
The SQL is below,
INSERT INTO MKT.TM_SAL_PGM_LOG
SELECT B.SEQ + ROWNUM LOG_SEQ ,
A.COM_CODE ,
A.DIV_CODE ,
A.PGM_NO ,
A.PGM_SEQ ,
A.PGM_TYPE ,
A.CUST_CD ,
A.BILL_TO ,
A.TXN_TYPE ,
A.TXN_NO ,
A.TXN_SEQ ,
A.TXN_DATE ,
A.MODEL ,
A.SUFFIX ,
A.APPLY_AMT_LOC ,
A.APPLY_AMT_TXN ,
A.CN_ENTRY_FLAG ,
A.CURRENCY ,
A.APPLY_TYPE ,
A.PCT_RATE ,
A.AMT_PER_UNIT ,
A.NET_AMT_LOC ,
A.NET_AMT_TXN ,
A.ACCRUAL_TYPE ,
A.SALESMAN ,
A.CREATE_DATE ,
A.DEPT_CODE ,
A.QTY ,
A.ACCRUAL_FLAG ,
A.APPLY_AMT ,
A.FIXED_AMT ,
A.SHIP_FROM ,
A.AUTO_ADJUST ,
A.CHINA_PRODUCT
FROM MKT.TM_SAL_PGM_LOG_IT A,
( SELECT MAX(LOG_SEQ) SEQ FROM MKT.TM_SAL_PGM_LOG ) B
WHERE PGM_NO = '2006-DA0004B'
AND TXN_TYPE IN ( 'ACCR' ,'CRED' )
AND COM_CODE = 'LGEUS';
If we tried to insert into a table with one more condition,
and rownum=1;
it went throught without error.
And, if we insert into the table with value( val1, val2,.....,valn), it also went through without any error message, but ONLY when the whole SQL is executed.
There is no error either for the select statement in the SQL either.
It is Oracle 8.1.7.4 64-bit on IBM AIX 5.2 machine.
What is wrong?
Thanks for advance!
RobertDump file /oracle1/app/oracle/admin/M3US/udump/ora_1773234_m3us.trc
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
ORACLE_HOME = /oracle1/app/oracle/product/8.1.7
System name: AIX
Node name: lgeus
Release: 2
Version: 5
Machine: 00C9C4CD4C00
Instance name: M3US
Redo thread mounted by this instance: 1
Oracle process number: 86
Unix process pid: 1773234, image: oracle@lgeus (TNS V1-V3)
*** SESSION ID:(184.8386) 2006-03-02 16:13:16.189
*** 2006-03-02 16:13:16.189
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [4518], [], [], [], [], [], [], []
Current SQL statement for this session:
INSERT INTO TM_SAL_PGM_LOG
SELECT C.LOG_SEQ + ROWNUM,
D.COM_CODE, D.DIV_CODE, '2006-DA0004B' PGM_NO,
DECODE ( T.PRODUCT, 'WR', 1, 'WL', 2, 'WK', 3, 'JE', 4, 'JM', 5, 'FR', 6, 'FD',7, 0 ) PGM_SEQ , 'KO' ,
M.CUST_CD, M.BILL_TO, 'ACCR' TXN_TYPE, D.ORDER_NO, D.SALES_SEQ,
GREATEST ( M.INVO_DATE, '20060228') , D.MODEL, D.SUFFIX,
D.NET_AMT_TXN * 0.02,D.NET_AMT_TXN * 0.02, 'S', 'USD', 'P', 2, 0, D.NET_AMT_LOC, D.NET_AMT_TXN, 'L',
M.SALESMAN, SYSDATE, M.DEPT_CODE, D.PICK_QTY, NULL, NULL, NULL, NULL, 'N', NULL
FROM TM_SAL_DTL D,
TM_SAL_MST M,
TM_MODEL T,
( SELECT NVL(MAX (LOG_SEQ ),0) LOG_SEQ FROM TM_SAL_PGM_LOG_IT ) C
WHERE D.ORDER_NO = M.ORDER_NO
AND D.COM_CODE = M.COM_CODE
AND D.DIV_CODE = M.DIV_CODE
AND D.MODEL = T.MODEL
AND D.SUFFIX = T.SUFFIX
AND D.COM_CODE = T.COM_CODE
AND ( D.INVO_NO , D.INVO_SEQ ) IN (
SELECT /*+ ORDERED M, D, T */
D.INVO_NO, D.INVO_SEQ
FROM TM_SAL_MST M,
TM_SAL_DTL D,
TM_MODEL T
WHERE M.ORDER_NO = D.ORDER_NO
AND M.COM_CODE = D.COM_CODE
AND M.DIV_CODE = D.DIV_CODE
AND D.MODEL = T.MODEL
AND D.SUFFIX = T.SUFFIX
AND D.COM_CODE = T.COM_CODE
AND M.INVO_DATE BETWEEN '20060101' AND '20061231'
AND M.BILL_TO IN ( 'US006900' )
AND T.PRODUCT IN (
SELECT PRODUCT FROM TM_SAL_PGM_DTL
WHERE PGM_NO = '2006-DA0004B' )
MINUS
SELECT TXN_NO, TXN_SEQ
FROM TM_SAL_PGM_LOG
WHERE PGM_NO = '2006-DA0004B'
AND COM_CODE = 'LGEUS'
AND TXN_TYPE = 'ACCR' )
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp+00cc bl ksedst 1 ?
ksfdmp+0018 bl ksedmp 110276CD ?
kgeriv+0104 bl _ptrgl
kgeasi+0104 bl kgeriv 84 ? 70 ? 6 ? 6 ? 2FF1A24C ?
ktbwbi+00f8 bl kgeasi 20009408 ? 201287D4 ? 11A6 ?
2 ? 0 ? C0 ? 8000 ? 0 ?
kdisle+100c bl ktbwbi 2FB0 ? 11919F50 ? 0 ? 0 ?
kdiins0+0f84 bl kdisle 69362E20 ? 2FF1A740 ?
2FF1B008 ? 1000001 ? 80008 ?
22243DE8 ? 2C002C ? 0 ?
kauxsin+13e8 bl kdiins0 69362E20 ? 0 ? 0 ? 0 ? 0 ?
0 ? 0 ? 80000 ?
insidx+0388 bl kauxsin 69362DD4 ? 117694C4 ? 0 ?
201B4278 ? 201B4308 ?
201B4350 ? 201B4260 ? 0 ?
insflush+013c bl insidx 88 ?
insrow+04a0 bl insflush 201B41D4 ? 1 ? 2FF1DE48 ?
insdrv+0450 bl insrow 201B41D4 ? 2FF1DE48 ? 0 ?
insexe+04ec bl insdrv 201B41D4 ?
opiexe+1f2c bl insexe 63406C80 ? 3 ?
opiall0+0c60 bl opiexe 4 ? 2 ? 2FF1F7F0 ?
kpoal8+0678 bl opiall0 5E ? 22 ? 2FF1FAA8 ? 0 ?
2FF1FA50 ? 20121CB8 ? 5EB ?
4422022 ?
opiodr+0668 bl _ptrgl
ttcpip+09d8 bl _ptrgl
opitsk+066c bl ttcpip 57B ? 200AEA88 ? 2FF21288 ?
7FF ? 1 ? 0 ? 20067B70 ? 4C ?
opiino+061c bl opitsk 2000CE18 ?
opiodr+0668 bl _ptrgl
opidrv+0450 bl opiodr 3C ? 4 ? 2FF229C8 ? 0 ?
sou2o+0028 bl opidrv 3C ? 4 ? 2FF229C8 ?
main+0130 bl sou2o 0 ? A0 ? 2FF22890 ? 0 ?
__start+0088 bl main 2 ? 2FF22A38 ?
----- Argument/Register Address Dump -----
Argument/Register addr=1.
Dump of memory from 0x0 to 0x101
000 00000000 00000000 00000000 00000000 [................]
Repeat 15 times
100 7C7243A6 [|rC.]
Argument/Register addr=110276cd.
Dump of memory from 0x1102768D to 0x110277CD
11027680 4BFFFCA5 [K...]
11027690 2C030000 40820020 3B5A0001 80010040 [,...@.. ;Z.....@]
110276A0 3B390001 7C1A0040 4180FDF8 80610050 [;9..|[email protected]]
110276B0 48000010 4BFD2989 60000000 38600001 [H...K.).`...8`..]
110276C0 800100A8 818100A4 382100A0 7C0803A6 [........8!..|...]
110276D0 BA21FFC4 7D808120 4E800020 00000000 [.!..}.. N.. ....]
110276E0 00002043 800F0600 00000000 000002D8 [.. C............]
110276F0 00096472 65696931 696E7300 BE21FFC4 [..dreii1ins..!..]
11027700 607F0000 7C0802A6 7D800026 90010008 [`...|...}..&....]
11027710 8003000C 91810004 2C000000 9421EF70 [........,....!.p]
11027720 408207A0 60960000 83DF0000 60B50000 [@...`.......`...]
<and go on>
this file is huge, I just copy/paste the first part. I hope it helps.
Thanks a lot, Sri.
Robert -
Hello,
My application is handling exceptions like this:
try{
resultSet = pStatement.executeQuery();
catch(SQLException e){
conn.close();
if(e.getErrorCode() == 942)
// handle with table or view doesn't exist
else
// handle with other errors
Is there a way to not hard code the error codes?
Is there any java constants to oracle error or messages in the jdbc driver?
Thanks,
Vladimir.<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Marcus Uddenhed ([email protected]):
I need to know where i can find,
a description to the error codes
in Oracle.<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
Hi, Please suggest to me for below given issue. As per business requirement, we need open new FY2012 and close the old FY2010 and we trying to close the FY2010 in AJAB but system through the error message as u201CTransactions not complete ly periodic
-
My iPhone does not appear in iTunes list?
My phone makes the "plugged in " noise when I connect to the USB but does not appear as a device in the list on the left hand side of the itunes page. There has not been a problem previously. Any suggestions?
-
Troubleshooting Multilink Group (Serial)
Hi, I have been asked to look at a colleague's problem and I haven't touched multilink in a while, so when I looked at the initial output form various 'show' commands I think there still might be an issue. He has indicated that everything is working
-
Charts get overlaped with Table view
I have a report which has 4 different views in the following order TITLE ( Report Title) STATIC TEXT ( Report Notes and Observations) GRAPH (Line Chart) TABLE ( Table Report showing 35~40 rows) I have these views arranged into a compound layout. The
-
Include all changes in transport -- New system
Hi If I want to develop a program including SmartForms, OO, WebDynpro etc., and import it into another SAP system. How do I ensure that all my code are included in my transport request - or is it possible. In other words: How do I save my code, so I