Error ORA-03113 when execute procedure via OEM
Hi All,
I got error messages
ORA-03113: end-of-file on communication channel
ERROR at line 1:
ORA-03114: not connected to ORACLE
when execute procedure via Oracle Enterprise Manager
Who do you know what 's the problem and how can I resolves ?
Thanks,
Mcka
Solution Description:
=====================
The ORA-3113 error is a general error reported by Oracle client tools,
which signifies that they cannot communicate with the oracle shadow
process. As it is such a general error more information must be collected
to help determine what has happened.
This short article describes what information to collect for an
ORA-3113 error when the Oracle server is on a Unix platform.
General Issues:
===============
1) Is it only one tool that encounters the error or
do you get an ORA-3113 from any tool doing a similar operation?
If the problem reproduces in SQL*Plus, use this in all tests
below.
2) Check if the problem is just restricted to:
[ ] One particular UNIX user,
[ ] Any UNIX user
or [ ] Any UNIX user EXCEPT as the Oracle user.
3) Check if the problem is just restricted to:
[ ] One particular ORACLE logon
or [ ] Any ORACLE logon that has access to the
relevant tables.
4) If you have a client-server configuration does this occur from:
[ ] Any client
[ ] Just one particular client
or [ ] Just one group of clients ?
If so what do these clients have in common ?
Eg: Software release .
5) Do you have a second server or database version where the
same operation works correctly?
Similar Messages
-
Error ORA-03113 when upgrading from 11.2.0.1 to 11.2.0.3
I keep on getting this error when upgrading from 11.2.0.1 to 11.2.0.3
[Thread-57] [ 2012-04-20 13:18:28.207 CEST ] [SummarizableStep.genSummary:409] Generating Summary for:=Pre Upgrade ,status is:=Successful
[Thread-57] [ 2012-04-20 13:18:28.208 CEST ] [SummarizableStep.genSummary:409] Generating Summary for:=Oracle Server ,status is:=Failed
oracle.sysman.assistants.util.step.StepExecutionException: ORA-03113: end-of-file on communication channel
Upgrade failed due to running the step "Upgrading Oracle Server"
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeSubStepImpl(SubComponent.java:738)
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeStepImpl(SubComponent.java:585)
at oracle.sysman.assistants.dbma.backend.component.Component.executeStepImpl(Component.java:317)
at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:183)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
at java.lang.Thread.run(Thread.java:637)
[Thread-57] [ 2012-04-20 13:18:28.209 CEST ] [SummarizableStep.executeImpl:212] Throwing exception e from SummarizableStep
[Thread-57] [ 2012-04-20 13:18:28.209 CEST ] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@4805e9f1
oracle.sysman.assistants.util.step.StepExecutionException: ORA-03113: end-of-file on communication channel
Upgrade failed due to running the step "Upgrading Oracle Server"
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeSubStepImpl(SubComponent.java:738)
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeStepImpl(SubComponent.java:585)
at oracle.sysman.assistants.dbma.backend.component.Component.executeStepImpl(Component.java:317)
at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:183)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
at java.lang.Thread.run(Thread.java:637)
[Thread-57] [ 2012-04-20 13:18:31.000 CEST ] [CompManager.isModeSet:9822] DB Upgrade Mode Setting := 1
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [CompManager.isModeSet:9823] Mode := 1 is set
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [SQLEngine.done:2189] Done called
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [Database.getStepSQLInterface:787] OH in database: /app/oracle/product/11.2.0.3/db_1Any clues about what could be wrong? I am planning to upgrade with the manual steps if it does not work :(Pl post OS details - are you using DBUA to upgrade ? Are there any errors in the database alert log ?
ORA-00600 [kodpunp-nulltds], ORA-00600 [kokeeiix1], [600] When Upgrading To 11GR2 [ID 1367827.1]
HTH
Srini -
Error: ORA-03113 while executing complex java code from Oracle PL/SQL
Hi,
I am trying to execute a complex java code from Oracle PL/SQL. The classes were resolved successfully. But in the middle of execution, I am getting the following error:
ERROR:
ORA-03114: not connected to ORACLE
begin
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 13685
Session ID: 21 Serial number: 20
Is there a way to debug the Java classes loaded into oracle? Or is there any utility to find out why the connection was lost?
Regards,
SaravanaHi Saravana:
You could use simply System.out.println(..) at your Java code and see the output at the .trc files generated for your Oracle session.
Or better than this adding Java Util Logging messages at your code, to see how to use JUL API at the OJVM please see this blog post [Using JUL API inside the OJVM|http://marceloochoa.blogspot.com/2007/11/getting-logging-entering-exiting-and.html].
Best regards, Marcelo.
PD: ora-0600 generally are associated with RDBMS bugs, but these bugs can be bypassed by replacing the code which throws the exception by other with a workaround. -
Error not getting while executing procedure via db link
Hi,
I am executing a database procedure remotely via database link from SQL prompt (SQL > EXECUTE REPLICATE_DATA@DBLK_SALE), and while getting any connectivity issue system is not giving any error (it is just showing as not responding)..
if I am executing the same procedure directly in the remote database then it is giving error as
ORA-02055: distributed update operation failed; rollback required
ORA-02068: following severe error from DBLK_SALE
ORA-03135: connection lost contact
Can someone can help me on this
RegardsDear 823755,
You can think the Database link as a new sqlplus session to the distributed database. You should have defined a user to connect to that remote database and the user has to have the necessary privileges to revoke the relevant object. Does it have that privilege? Can you even connect to the remote database instance?
SQL> SELECT * FROM DUAL@DBLK_SALE;Regards.
Ogan -
Error ORA-03113 while install Oracle9i r2 on redhat Advance serer
Hello All:
Can anyone inform me how to correct the error ORA-03113 when I install oracle 9i on RedHat Advance Server 2.1
This error has something to do with setting my CLASSPATH I think.
Thank YOU
Ezra TaylorHi,
You don't mention where exactly you were receiving this error but I was receiving this error when doing the database creation via DBCA. I was able to get around this by altering the 'shmmax' parameter. I suspect that the classpath is not the issue in this case, infact I think it should be unset (as well as other things such as JAVA_HOME).
I initially tried the 100Mb specified at this site: http://www.e-gineer.com/instructions/install-oracle9i-on-linux.phtml
However this wasn't enough so I went for the 'loony' option and set it to its maximum value using sysctl as root (see below):
sysctl -w kernel.shmmax=4294967295
Obviously you probably don't want to leave it at this size and will want to find the appropriate value. (Oracle reccomends half of physical memory - I haven't tried this yet).
HTH,
Gareth. -
SQL error 3113 occurred when executing EXEC SQL.
Hi,
We are facing one typical problem, One background is failing regularly with
below dump. as we now got all notes giving information, if database restarted
taking backup, these type of failures occur, but our database is only down for backup once in a week, but it is failing with frequenly.
in this two servers are located in different place, in this job tries to connect
another server to get material statistics.
It is giving some error message in sm21 with
SQL error 3113 occurred when executing EXEC SQL.
work procees in reconnect mode.
all notes saying these types of dump occur when database restared, but this dump
even though database is up.
below is short dump, please can anyone help me from this problem.
ABAP runtime errors DBIF_DSQL2_SQL_ERROR
Occurred on 08.01.2007 at 00:30:28
>> Short dump has not been completely stored. It is too big.
SQL error 3113 occurred when executing EXEC SQL.
What happened?
The error occurred in the current database connection "AZ1".
What can you do?
Note the actions and input that caused the error.
Inform your SAP system administrator.
You can print out this message by choosing "Print". Transaction ST22
allows you to display and manage termination messages, including keeping
them beyond their normal deletion date.
Error analysis
How to correct the error
Database error text........: "ORA-03113: end-of-file on communication channel#"
Triggering SQL statement...: "select mara.groes, mara.brgew, mara.ntgew,
mara.gewei, mara.volum, mara.voleh, mara.mstae, mara.mstde, mara.prdha,
marc.matnr, marc.werks, marc.mmsta, marc.mmstd from sapr3.mara, sapr3.m
where sapr3.mara.mandt = sapr3.marc.mandt and sapr3.mara.matnr =
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"DBIF_DSQL2_SQL_ERROR"
"ZM2431216 " or "ZM2431216 "
"EXTRACT_GENERAL_DATA"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in th
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error o
or which actions and input led to the error.
System environment
SAP Release.............. "46C"
Application server....... "essceu3"
Network address.......... "172.19.119.198"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "00C7ADBD4C00"
Database server.......... "ukblx176"
Database type............ "ORACLE"
Database name............ "EU3"
Database owner........... "SAPR3"
Character set............ "es_ES.ISO8859-1"
SAP kernel............... "46D"
Created on............... "Jul 9 2006 20:26:33"
Created in............... "AIX 1 5 00447C4A4C00"
Database version......... "OCI_920__OCI_7_API "
Patch level.............. "2257"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
8.1.6.., ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE 10.2.0.."
SAP database version..... "46D"
Operating system......... "AIX 1 4, AIX 2 4, AIX 3 4, AIX 1 5, AIX 2 5, AIX 3
5, , System build information:, , LCHN :
841480"
User, transaction...
Client.............. 600
User................ "MPZMMES"
Language key........ "S"
Transaction......... " "
Program............. "ZM2431216 "
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where termination occurred
The termination occurred in the ABAP/4 program "ZM2431216 " in
"EXTRACT_GENERAL_DATA".
The main program was "ZM2431216 ".
The termination occurred in line 980
of the source code of program "ZM2431216 " (when callin
The program "ZM2431216 " was started as a background jo
Source code extract
009500 mara.ntgew,
009510 mara.gewei,
009520 mara.volum,
009530 mara.voleh,
009540 mara.mstae,
009550 mara.mstde,
009560 mara.prdha,
009570 marc.matnr,
009580 marc.werks,
009590 marc.mmsta,
009600 marc.mmstd
009610 into :w_ops-groes,
009620 :w_ops-brgew,
009630 :w_ops-ntgew,
009640 :w_ops-gewei,
009650 :w_ops-volum,
009660 :w_ops-voleh,
009670 :w_ops-mstae,
009680 :w_ops-mstde,
009690 :w_ops-prdha,
009700 :w_ops-matnr,
009710 :w_ops-werks,
009720 :w_ops-mmsta,
009730 :w_ops-mmstd
009740 from sapr3.mara, sapr3.marc
009750 where sapr3.mara.mandt = sapr3.marc.mandt
009760 and sapr3.mara.matnr = sapr3.marc.matnr
009770 and sapr3.mara.mandt = :p_mandt
009780 and sapr3.mara.matnr = :w_ebs-matnr
009790 and sapr3.marc.werks = :p_owerks
> ENDEXEC.
009810 endform. " extract_general_data
009820 *&
009830 *& Form append_i_ops
009840 *&
009850 * Appends W_OPS to I_OPS
009860 *
009870 form append_i_ops.
009880 append w_ops to i_ops.
009890 endform. " append_i_ops
009900 *&
009910 *& Form extract_material_description
009920 *&
009930 * Extracts a Material Description from the remote database an
009940 * modifies the current record in I_OPS.
009950 *
009960 * >P_SPRAS Language Key
009970 *
009980 form extract_material_description using p_spras.
009990 EXEC sql performing set_langauge.
Contents of system fields
SY field contents..................... SY field contents............
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 1 SY-DBCNT 1
SY-FDPOS 18 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Name.......................... Contents.1........2........3....+..
W_EBS-PRAT4
2
0
W_OPS-GROES
22222222222222222222222222222222
00000000000000000000000000000000
W_OPS-BRGEW #######
0000000
000000C
W_OPS-NTGEW #######
0000000
000000C
regards,
krishnaiah.Hi,
This is usually a SERVER SIDE DATABASE PROBLEM or SQLNET LISTENER (server side) PROBLEM. The client side should initially be ignored and instead the server should be investigated. In rare cases, this can be caused by client
side memory or other resource problem, or a DLL version mismatch, but this is
unlikely.
Enlist the assistance of your DBA. Then reproduce the ORA-3113 error on your
client application. Ask your DBA to look at the database side Alert.log and
trace files and look for ANY activity. Any activity that coincides with your
ORA-3113 will be a clue.
REgards
Vinod -
ORA-03113 when using connect by in a report query ?
Hi,
Oracle 10g r2, ApEx 4.0.2.
I have a classic report on page zero, I need the following query to display my data :
select
distinct '<input class="radio_report_search_photos" name="radio_selected_photo" type="radio" />' as "Sel",
phot_id,
phot_description,
'<img alt="" id="thumb_'||phot_id||'" class="clickable_thumb" src="#OWNER#.show_photo?v_id_photo='||phot_id||'" />' as "Thumb",
substr(SYS_CONNECT_BY_PATH(kw_text, ', '),3) keyword_list
from
select
phot_id,
phot_description,
kw_id,
kw_text,
pkw_kw_id,
pkw_phot_id,
count(*) OVER(partition by phot_id ) cnt,
ROW_NUMBER() OVER(partition by phot_id order by kw_text) seq
from
photos,
photos_keywords,
keywords
where
phot_id = pkw_phot_id
and pkw_kw_id = kw_id
and contains(kw_text,nvl(:P0_SEARCH_PHOTO_KW,'%')) > 0
where
seq = cnt
start with
seq = 1
connect by prior
seq+1 = seq
and prior
phot_id = phot_idIt works great when executing from any software. I get the expected results.
But yhen I try to put it in the report region source, I get an ORA-03113 when I apply changes...
It works if I remove CONNECT BY PRIOR and SYS_CONNECT_BY_PATH from the query.
Why ?
Thanks.
Details :
url : https://my_host.ch/pls/htmldb_dev/wwv_flow.accept
Error :
Fri, 22 Jul 2011 09:25:38 GMT
ORA-03113: end-of-file on communication channelOK I now use xmlagg & xmlelement instead of connect by.
Sorry for not providing any solution.
Yann. -
ORA-03113 when trying to connect to database
RDBMS Version:: 9.2.0.6
Operating System and Version:: Win2003 Small Business Server
Error Number (if applicable):: ORA-03113
Server Net Version:: 9.2.0.6
Client Operating System and Version:: Solaris10
Client Net Version:: 2.1.3
ORA-03113 when trying to connect to database
I've currently a 7.1.3 client on SUN Solaris (5.10 Generic_118844-26 i86pc i386 i86pc) where I want to connect to the 9.2.0.6 database on a Win2003 Server hardware.
When i try to connect via SQL*Plus (Release 3.1.3.4.1), I get ORA-03113. Looking into the listener resp. alertfile on the server, I can see that the connectiorequest is recognized, but immediately answered by an ORA-0600, producing also trc-files.
listener: 25-MAI-2007 09:37:23 * (CONNECT_DATA=(SID=HTASQL)(CID=(PROGRAM=)(HOST=eklvpa)(USER=sat250))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.17.233.3)(PORT=32790)) * establish * HTASQL * 0
alert: ORA-00600: internal error code, arguments: [12333], [26], [0], [115], [], [], [], []
Activating traces on the client-side showed the following errors:
-<ERROR>- ntus2err: sd=8, op=1, resnt[0]=511, resnt[1]=2, resnt[2]=0
-<ERROR>- nserror: nsres: id=0, op=65, ns=12541, ns2=12560; nt[0]=511, nt[1]=2, nt[2]=0
-<ERROR>- nsopen: unable to open transport
-<ERROR>- nsprecv: transport read error
-<ERROR>- nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0
-<ERROR>- osnqrc: wanted 1 got 0, type 0
-<ERROR>- osnqper: error from osnqrc
-<ERROR>- osnqper: nr err code: 0
-<ERROR>- osnqper: ns main err code: 12537
-<ERROR>- osnqper: ns (2) err code: 12560
-<ERROR>- osnqper: nt main err code: 507
-<ERROR>- osnqper: nt (2) err code: 0
-<ERROR>- osnqper: nt OS err code: 0
-<ERROR>- osnqsm: send-break: failed to send OOB break...
-<ERROR>- osnqper: error from send-marker
-<ERROR>- osnqper: nr err code: 0
-<ERROR>- osnqper: ns main err code: 12583
-<ERROR>- osnqper: ns (2) err code: 0
-<ERROR>- osnqper: nt main err code: 0
-<ERROR>- osnqper: nt (2) err code: 0
-<ERROR>- osnqper: nt OS err code: 0
-<ERROR>- osnqbr: returning 3113
Can anybody help me in determining the problem ? Is there a systemtic incompatibility in connecting a 7.1.3 client to a 9.2 (or even higher) database ?Thanks for your reply.
But the funny thing on this compatibility issues is, that this configuration worked before. The only thing we did, was to setup the client-PC on a new hardware with also a new operating system (upgrading from Solaris 5.8 to 5.10). And from that time we encountered this problem.
Are there any OS-related problems known or better to say: is (was) ORACLE 7.1.3 supported on Solaris 5.10 ? Should we look for any patches which might help us ? -
Runtime error ora-12703 when running utl_mail
hello,
I call a procedure through push button to use UTL_MAIL.send(..) and I got error ora-12703.
There is no error during compilation.
For your info, I manage to execute the same code on stored procedure using TOAD and I received the email sent using TOAD and telnet from my local.
For info:
Forms developer version:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
procedure:
PROCEDURE test_email IS
BEGIN
UTL_MAIL.send (
sender => '[email protected]',
recipients => '[email protected]',
cc => '[email protected]',
bcc => '[email protected]',
subject => 'Test',
MESSAGE => 'Hello World',
mime_type => 'text; charset=us-ascii',
priority => 3
END;
Could anyone please help me on this.
Regards,
DayangHi All,
I tried another function that use utl_smtp to send email.
Again I could recieve email when I execute the function in TOAD but got error ora-12703 when I ran using forms.
When I ran the form, only "debug 1st" apear, then after that it returned error ora-12703.
Function:
FUNCTION SEND_MAIL
(pIssuer IN VARCHAR2,
pReceiver IN VARCHAR2,
pSender IN VARCHAR2,
pSubject IN VARCHAR2,
pMessage IN VARCHAR2) RETURN VARCHAR2 IS
c utl_smtp.connection;
respuesta utl_smtp.reply;
pServer VARCHAR2(50) := '10.0.3.79';
CRLF CHAR(2) := CHR(13) || CHR(10);
BEGIN
message('debug 1st');
-- Abre la conexión al Server de correo
c := utl_smtp.open_connection(pServer);
message('debug2nd');
respuesta := utl_smtp.helo(c, pServer);
-- Inicia el Issuer del correo.
respuesta := utl_smtp.mail(c, pSender);
-- Inicia el Receiver
respuesta := utl_smtp.rcpt(c, pReceiver);
respuesta := utl_smtp.open_data(c);
-- Escribe la cabecera del e-mail
utl_smtp.write_data(c, 'From: ' || pIssuer || CRLF);
utl_smtp.write_data(c, 'To: ' || pReceiver || CRLF);
-- Escribe el Subject
utl_smtp.write_data(c, 'Subject: ' || pSubject || CRLF);
-- Escribe el texto del Message.
utl_smtp.write_data(c, CRLF || pMessage);
utl_smtp.write_data(c, CRLF || '.');
respuesta := utl_smtp.close_data(c);
-- Cierra la conexión
respuesta := utl_smtp.quit(c);
RETURN '0';
EXCEPTION
WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
utl_smtp.quit(c);
RETURN sqlerrm;
--raise_application_error(-20000,
-- 'El envío del email ha fallado devolviendo el siguiente error: ' || sqlerrm);
END;
Regards,
Dayang -
Getting error "ORA-03113: end-of-file on communication channel"
HI ,
When Iam trying to compile a procedure in SQL *PLUS ,iam getting the following error :
ORA-03113: end-of-file on communication channel and the connection is getting lost .There is no issue with the code .
When i compile the same procedure in sql developer ,connection is getting lost and getting error
"Connection Closed
Vendor Code 17008"
Please help me to resolve the issue .
Thanks in advance ...Hi
Here is the code which is not getting compiled and is giving the above said error
CREATE OR REPLACE PROCEDURE SP_Upload_CrossWalk
(src_dom_nm IN VARCHAR2, src_sys_nm IN VARCHAR2, src_dta_elem_nm IN VARCHAR2, src_cd_val_txt IN VARCHAR2,
src_cd_val_desc IN VARCHAR2,src_cd_val_grp_desc IN VARCHAR2, tgt_dom_nm IN VARCHAR2, tgt_sys_nm IN VARCHAR2,
tgt_dta_elem_nm IN VARCHAR2, tgt_cd_val_txt IN VARCHAR2, tgt_cd_val_desc IN VARCHAR2,cd_map_typ_desc IN VARCHAR2,
eff_dttm IN VARCHAR2, term_dttm IN VARCHAR2, errtext OUT VARCHAR2)
IS
src_dom NUMBER;
src_key NUMBER;
src_elem NUMBER;
tgt_dom NUMBER;
tgt_sys NUMBER;
tgt_elem NUMBER;
src_val_seq NUMBER;
tgt_val_seq NUMBER;
src_cd_val_seq NUMBER;
cd_val_map_key_sq NUMBER;
temp_var VARCHAR2(500);
var_len NUMBER;
map_code CHAR(1);
invalidlength_exception EXCEPTION;
unknown_exception Exception;
BEGIN
var_len := LENGTH(src_cd_val_txt);
IF var_len > 20 THEN
temp_var := 'Length of Source Code Value Text Name is more than 20 characters';
RAISE invalidlength_exception;
END IF;
var_len := LENGTH(src_cd_val_desc);
IF var_len > 255 THEN
temp_var := 'Length of Code Value Desc is more than 255 characters';
RAISE invalidlength_exception;
END IF;
var_len := LENGTH(tgt_cd_val_txt);
IF var_len > 20 THEN
temp_var := 'Length of Target Code Value Text Name is more than 20 characters';
RAISE invalidlength_exception;
END IF;
var_len := LENGTH(tgt_cd_val_desc);
IF var_len > 255 THEN
temp_var := 'Length of Target Code Value Desc is more than 255 characters';
RAISE invalidlength_exception;
END IF;
var_len := LENGTH(src_cd_val_grp_desc);
IF var_len > 255 THEN
temp_var := 'Length of Code Value Group Desc is more than 255 characters';
RAISE invalidlength_exception;
END IF;
BEGIN
SELECT dom_key INTO src_dom FROM cu_cdm_dom WHERE dom_nm = src_dom_nm;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for Domain Key value lookup for Source Domain Name: '||src_dom_nm;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Domain Key value lookup failed for Source Domain Name: '||src_dom_nm;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Domain Key value lookup for Source Domain Name: '||src_dom_nm||' :
'|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT sys_key INTO src_key FROM cu_cdm_sys WHERE sys_nm = src_sys_nm;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for System Key value lookup for Source System Name: '||src_sys_nm;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'System Key value lookup failed for Source System Name: '||src_sys_nm;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the System Key value lookup for Source System Name: '||src_sys_nm||' :
'|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT dta_elem_key INTO src_elem FROM cu_cdm_dta_elem WHERE dta_elem_phys_nm = src_dta_elem_nm
AND dom_key = src_dom AND sys_key = src_key;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for Data Element Key value lookup for Source Data Element Physical Name:
'||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Data Element Key value lookup failed for Source Data Element Physical Name:
'||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Data Element Key value lookup for Source Data Element Physical
Name: '||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT dom_key INTO tgt_dom FROM cu_cdm_dom WHERE dom_nm = tgt_dom_nm;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for Domain Key value lookup for Target Domain Name: '||tgt_dom_nm;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Domain Key value lookup failed for Target Domain Name: '||tgt_dom_nm;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Domain Key value lookup for Target Domain Name: '||tgt_dom_nm||' :
'|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT sys_key INTO tgt_sys FROM cu_cdm_sys WHERE sys_nm = tgt_sys_nm;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too may rows for System Key value lookup for Target System Name: '||tgt_sys_nm;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'System Key value lookup failed for Target System Name: '||tgt_sys_nm;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the System Key value lookup for Target System Name: '||tgt_sys_nm||' :
'|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT dta_elem_key INTO tgt_elem FROM cu_cdm_dta_elem WHERE dta_elem_phys_nm = tgt_dta_elem_nm
AND dom_key = tgt_dom AND sys_key = tgt_sys;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for Data Element Key value lookup for Target Data Element Physical Name:
'||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Data Element Key value lookup failed for Target Data Element Physical Name:
'||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Data Element Key value lookup for Target Data Element Physical
Name: '||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT MIN(cd_map_typ_cd) INTO map_code FROM cu_cdm_cd_map_typ WHERE cd_map_typ_desc = cd_map_typ_desc;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many values for Code Map Type Code value lookup for Code Map Type Desc:
'||cd_map_typ_desc;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Code Map Type Code value lookup failed for Code Map Type Desc: '||cd_map_typ_desc;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Code Map Type Code value lookup for Code Map Type Desc:
'||cd_map_typ_desc||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT cu_cdm_src_cd_val_grp_key_sq.nextval INTO src_cd_val_seq FROM dual;
EXCEPTION
WHEN OTHERS THEN
temp_var := 'Error in generating the value for the sequence CU_CDM_SRC_CD_VAL_GRP_KEY_SQ'||' : '||
sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT cu_cdm_cd_val_key_sq.nextval INTO src_val_seq FROM dual;
EXCEPTION
WHEN OTHERS THEN
temp_var := 'Error in generating the value (source) for the sequence CU_CDM_CD_VAL_KEY_SQ'||' : '||
sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT cu_cdm_cd_val_key_sq.nextval INTO tgt_val_seq FROM dual;
EXCEPTION
WHEN OTHERS THEN
temp_var := 'Error in generating the value (target) for the sequence CU_CDM_CD_VAL_KEY_SQ'||' : '||
sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT cu_cdm_cd_val_map_key_sq.nextval INTO cd_val_map_key_sq FROM dual;
EXCEPTION
WHEN OTHERS THEN
temp_var := 'Error in generating the value for the sequence CU_CDM_CD_VAL_MAP_KEY_SQ'||' : '||
sqlerrm;
RAISE unknown_exception;
END;
BEGIN
BEGIN
INSERT INTO cu_cdm_cd_val_mstr(cd_val_key, cd_val_eff_dttm, dta_elem_key, cd_val_txt,
cd_val_desc, coode_val_term_dttm)
VALUES(src_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_elem, src_cd_val_txt,
src_cd_val_desc, to_date(term_dttm, 'MM-DD-YYYY'));
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MSTR';
RAISE DUP_VAL_ON_INDEX;
WHEN OTHERS THEN
temp_var := 'Unknown error inserting into the table CU_CDM_CD_VAL_MSTR :'||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
INSERT INTO cu_cdm_cd_val_mstr(cd_val_key, cd_val_eff_dttm, dta_elem_key, cd_val_txt,
cd_val_desc, coode_val_term_dttm)
VALUES(tgt_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), tgt_elem, tgt_cd_val_txt,
tgt_cd_val_desc, to_date(term_dttm, 'MM-DD-YYYY'));
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MSTR';
RAISE DUP_VAL_ON_INDEX;
WHEN OTHERS THEN
temp_var := 'UUnknown error inserting into the table CU_CDM_CD_VAL_MSTR'||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
INSERT INTO cu_cdm_src_cd_val_grp(src_cd_val_grp_key, src_cd_val_grp_eff_dttm,
src_cd_val_grp_desc, src_cd_val_term_dttm)
VALUES(src_cd_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_cd_val_grp_desc,
to_date(term_dttm, 'MM-DD-YYYY'));
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_SRC_CD_VAL_GRP';
RAISE DUP_VAL_ON_INDEX;
WHEN OTHERS THEN
temp_var := 'Unknown error inserting into the table CU_CDM_SRC_CD_VAL_GRP'||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
INSERT INTO cu_cdm_cd_val_map(cd_val_map_key, cd_map_eff_dttm, cd_map_typ_cd,
cd_map_term_dttm, tgt_cd_val_key, tgt_cd_val_eff_dttm, src_cd_val_grp_key, src_cd_val_grp_eff_dttm)
VALUES(cd_val_map_key_sq, to_date(eff_dttm, 'MM-DD-YYYY'), map_code, to_date(term_dttm,
'MM-DD-YYYY'),
tgt_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_cd_val_seq, to_date(eff_dttm,
'MM-DD-YYYY'));
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MAP';
RAISE DUP_VAL_ON_INDEX;
WHEN OTHERS THEN
temp_var := 'Unknown error inserting into the table CU_CDM_CD_VAL_MAP'||' : '|| sqlerrm;
RAISE unknown_exception;
END;
END;
COMMIT;
EXCEPTION
WHEN NO_DATA_FOUND THEN
errtext := temp_var ||' : '|| sqlerrm;
WHEN TOO_MANY_ROWS THEN
errtext := temp_var ||' : '|| sqlerrm;
WHEN DUP_VAL_ON_INDEX THEN
errtext := temp_var ||' : '|| sqlerrm;
WHEN invalidlength_exception THEN
errtext := temp_var;
WHEN unknown_exception THEN
errtext := temp_var ||' : '|| sqlerrm;
WHEN OTHERS THEN
errtext := sqlcode ||' : '|| sqlerrm;
END SP_Upload_CrossWalk;
Please help me in this regard
Regards
Deepak -
Error while trying to retrieve text for error ORA-03113"
We face an error saying "Error while trying to retrieve text for error ORA-03113" in our Mail trigger application.
This error happens randomly
This is the below error i am getting
I see from the logs
DBD::Oracle::st execute failed: Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute) [for State ment " insert into matrix_tbl (created_tm, tran_id, matrix_id, client_id, mailing_id, block_id, slist_id, profile_blob, profil e_id, plist_id, profile_key, email_addr, mail_pref, mail_pref_mask, alt_email_addr, num_ftd, pct_id ) SELECT sysdate, 0 , 619
70818 , 7180280 , 39868792 , ?, 0 , substr( 'MT' || chr(1) || '' || chr(1) || 'PAPER_USAGE' || chr(1) || s.C26 || chr(1) |
| 'GARDEN' || chr(1) || s.C17 || chr(1) || 'TAG' || chr(1) || s.C34 ||
| chr(1) || 'PASS_MAILING' || chr(1) || s.C27 || chr(1) | 'MS' || chr(1) || s.C24 || chr(1) || 'OPTIN_SOURCE' || chr(1) || s.C25 || chr(1) || 'DAILY' || chr(1) || s.C7 || chr(1) || '
PROFILE_LIST' || chr(1) || s.C28 || chr(1) || 'HI' || chr(1) || s.C20 || chr(1) || 'EXIST_MAILING' || chr(1) || s.C11 || chr(1
) || 'RPASS2' || chr(1) || s.C30 || chr(1) || 'FORWARD_MAILING' || chr(1) || s.C15 || chr(1) || 'ACCESS' || chr(1) || s.C1 ||
chr(1) || 'TRAVCON' || chr(1) || s.C35 || chr(1) || 'RPASS1' || chr(1) || s.C29 || chr(1) || 'FINANCE' || chr(1) || s.C12 || c
hr(1) || 'CONFIRM_MAILING' || chr(1) || s.C5 || chr(1) || 'VENT' || chr(1) || s.C38 || chr(1) || 'SRC' || chr(1) || s.C32 || c
hr(1) || 'DELIVERY' || chr(1) || s.C8 || chr(1) || 'SALUTATION' || chr(1) || s.C31 || chr(1) || 'UNTITLEDY' || chr(1) || s.C37 || chr(1) || 'CU18' || chr(1) || s.C6 || chr(1) || 'BIRTH_DATE' || chr(1) || s.C3 || chr(1) || 'BIRTH_YEAR' || chr(1) || s.C4 || chr(1) || 'DOWNLOAD' || chr(1) || s.C9 || chr(1) || 'LN' || chr(1) || s.C22 || chr(1) || 'VIRAL_LIST' || chr(1) || s.C39 |
| chr(1) || 'GENDER' || chr(1) || s.C18 || chr(1) || 'WEEKLY' || chr(1)
| || s.C40 || chr(1) || 'UNTITLEDX' || chr(1) || s.C36 |
| chr(1) || 'ENTERTAINMENT' || chr(1) || s.C10 || chr(1) || 'HEALTH' ||
| chr(1) || s.C19 || chr(1) || 'INCOME' || chr(1) || s.C
21 || chr(1) || 'FN' || chr(1) || s.C13 || chr(1) || 'ZIP' || chr(1) || s.C41 || chr(1) || 'AGE' || chr(1) || s.C2 || chr(1) |
| 'FOOD' || chr(1) || s.C14 || chr(1) || 'SUPPRESS' || chr(1) || s.C33
| || chr(1) || 'FTD_REVAL_DATE' || chr(1) || s.C16 || chr
(1) || 'MOVIE' || chr(1) || s.C23 , 0,3999) , s.profile_id, s.plist_id, s.profile_key, s.email_addr , s.mail_pref, s.mail_pref _mask, s.alt_email_addr, srt.num_ftd, s.block_id FROM subscriber_tbl s, sub_report_tbl srt WHERE s.plist_id = ?
and s.block_id
= ? and srt.plist_id = ? and srt.block_id = ? and s.profile_id = srt.profile_id
and nvl(srt.num_optout, 0) = 0 and nvl(srt.num_ftd, 0) <= 3 and srt.optin_mask like '%N01%'"
with ParamValues: :p5='1941860', :p3='1941860', :p1=1, :p4='28895423', :p2='28895423'] at hcommon.pm line 1277.
AJC MAILTRIGGER STH Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute)An ORA-03113 error would mean that the connection to the database no longer exists so any attempt to get the error message from the the database would result in an error. I think the real issue might be why was the session interrupted.
03113, 00000, "end-of-file on communication channel"
Depending on the front-end tool a pointer error or failure to properly terminate a string could result in corrupting the message to Oracle.
There have been numerous bugs over the years that have resulted in this error message being returned. I notice that the Oracle version, platform, edition, and client tool set are not mentioned in the post. All this would potentially be important information for someone to recognize what might be the problem.
I would look very closely at the code " at hcommon.pm line 1277 "
HTH -- Mark D Powell -- -
Ora-02068 following severe error & ora-03113 while connecting thru DB LINK
Hi All,
I am trying to connect to remote Database by using DB Link facing the below error.
ora-02068 following severe error & ora-03113 end of communication channel.
Version of Database - 8.0.6 ( source Database)
Target Database version - 11g ( Target Database)
Oracle Client s/w used - 9i
TNSPING from 8 version database to 11g is successful
C:\Documents and Settings\user>tnsping prdd
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 30-MAY-20
13 10:40:02
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
D:\oracle9i\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(host =xx.xxx.xxx.xx) (Port = 1631))) (CONNECT_DATA =(SID = PRDD)))
OK (30 msec)
Connection successful from 8 to 11 Database remotely
C:\Documents and Settings\user>sqlplus
SQL*Plus: Release 9.2.0.1.0 - Production on Thu May 30 10:43:00 2013
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name:username/pwd@prdd
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Automatic Storage Management, Oracle Label Security, OLAP
Data Mining, Oracle Database Vault and Real Application Testing options
SQL>
Connected to:
Oracle8 Enterprise Edition Release 8.0.6.0.0 - Production
With the Partitioning and Objects options
PL/SQL Release 8.0.6.0.0 - Production
SQL> select * from dual@xxx_dblink.world;
select * from dual@xxx_dblink.world
ERROR at line 1:
ORA-02068: following severe error from xxx_dblink
ORA-03113: end-of-file on communication channel
DBLink got created successfully but when ever trying to test the DBlink as above facing the below issue,please help.
Thanks in advance.8.0.6 was desupported a LOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNGGGGGGGGGGGGG time ago
(you were probably still in your dipers)
Sqlnet is not compatible for that many releases
(there has been
8.1.5
8.1.6
8.1.7
9.0.1
9.2.0
10.1.0
10.2.0
11.1.0
11.2.0
So nine releases.
This is software, not gasoline.
Sybrand Bakker
Senior Oracle DBA -
Oracle raise ORA-03113 when connect to a remote oracle server using toad
Hi there,
when i use the tool toad connect to a remote oracle server which located in a different city,
when i submit a query in toad,
if the query returns many rows of data, it will raise the error ORA-03113:end-of-file on communication channel,
however if the query returns only a few rows, i won't raise such error,
however, when i use sqlplus connect to that remote server, it won't raise such error,
what's the reason is, can any one tell me how to tackle this problem if using the tool toad. thanks/hi my oracle vsersion is:
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
my oracle server is 2 nodes rac server,
and i've tried two different kind version of toad v9.6 and v10.5, and both have the same problem
once i query a table, if the result returned more than 30 rows, then it will raise that error, if query returns less than 30 rows, it's ok.
i assume it is a problem concern with network, but i don't know why no such error raise when using sqlplus ? -
Error ORA-06502 When using function REPLACE in PL/SQL
Hi,
I have a PL/SQL procedure which gives error 'Error ORA-06502 When using function REPLACE in PL/SQL' when the string value is quite long (I noticed this with a string 9K in length)
variable var_a is of type CLOB
and the assignment statement where it gives the error is
var_a := REPLACE(var_a, '^', ''',''');
Can anyone please help!
ThanksEven then that shouldn't do so:
SQL> select overload, position, argument_name, data_type, in_out
2 from all_arguments
3 where package_name = 'STANDARD'
4 and object_name = 'LPAD'
5 order by 1,2
6 /
OVERLOAD POSITION ARGUMENT_NAME DATA_TYPE IN_OUT
1 0 VARCHAR2 OUT
1 1 STR1 VARCHAR2 IN
1 2 LEN BINARY_INTEGER IN
1 3 PAD VARCHAR2 IN
2 0 VARCHAR2 OUT
2 1 STR1 VARCHAR2 IN
2 2 LEN BINARY_INTEGER IN
3 0 CLOB OUT
3 1 STR1 CLOB IN
3 2 LEN NUMBER IN
3 3 PAD CLOB IN
4 0 CLOB OUT
4 1 STR1 CLOB IN
4 2 LEN NUMBER INI wonder what happened? -
Hi
i have database 11g r2 installed on windows server 2008
when i try to connect to my databse from my laptop by
sqlplus release 3.3.2.0.2 it's give me error
ora-03113: end-of-file on communication channel
and when i try ti connect by sqlplus release 8.0.6.0.0 it's connected
pls your helpwesam2008 wrote:
Dear
I've had my question I can make a connection to the 11g db with release 8.0.6.0.0 which it's coming with 6i package and it's old version also
and also my version working propaly with db 10g r2
for that is not true that Oracle does not grant that old oracle clients work with current release.Actually you are wrong.
With each new version Oracle often introduces new features and syntax to the database.
Older version of the client software do not know or understand the new features/syntax, so if you try to use them they will error.
If you only use features and syntax that was available on the database at the time the client software was written, it may work ok for that limited feature set, but also the way oracle makes connections to the database and the underlying communication between client and database will vary slightly as versions move on. So I woulc certainly expect I could make a connection from a 9i or 10g client to an 11g database as that's just a couple of versions old, though I would be missing the ability to use new 11g functionality. However, using something as old as a version 3 client on an 10g or 11g database, I would be surprised if it even managed to connect.
I think on metalink (oracle support or whatever they call it now), you can find information about the compatibility of the different versions, but the best practice is to use the latest version of the client that matches the database. The latest clients can typically connect to older versions of the database as they of often 'backwardly compatible' though even that has it's limitations.
So Oracle does not guarantee that old clients will work with current/future releases of the database... how could they? they don't know what the future versions will contain.
Maybe you are looking for
-
Intel processor bug causes Windows 2008r2 guest to blue screen
We recently purchased several B200-M3 blades with E5-2680v2 processors. Our UCS infrastructure and blade firmware is at 2.2(1d). ESXi hosts are at 5.5u1. From my reading of the Release Notes, this makes the new blades vulnerable to Caveat CSCuo3057
-
Flex 3 TabNavigator getting tab name when tab clicked
Hi All, I am using Flex 3. I have <mx:TabNavigator id="dbtabs" width="100%" height="100%" click="changeTabs()" /> I am also adding tabs dynamically. In the grand scheme of things, I want to let a user add tabs as needed and chose what content is o
-
Bring Back the HTML Web Photo Galleries to CS4
These were useful, easy to customize templates with more creative freedom. Much more so than what the flash templates provide. Using the web photo gallery control panel through Bridge was more efficient than through Photoshop since you could select f
-
Get the run date and pages to appear at the top of a BI Answers report
Hi, I'm trying to get the page number to appear at the bottom of each page. It should say eg. Page 2 of 10 pages'. I'm also trying to get the run date to appear at the top of each page. Thanks, Sally
-
ARCHIV_CONNECTION_INSERT - Name and Created By
Hi, I am using the function module ARCHIV_CONNECTION_INSERT to create IXOS attachments in a Service Request document. All are working ok except there is no provision to provide the created by. And I am using the parameter DOC_TYPE to insert the name