errbuf,retcode放置位置导致异常

EBS环境:11.5.10

 

errbuf,retcode要放在最前面,要不提交请求可能会出现意外情况。

 

 

CREATE OR REPLACE PROCEDURE XXSKE_AUTO_TRX_OVERDUE_MTL
(

    p_email IN VARCHAR2,

    errbuf  OUT VARCHAR2,
    retcode OUT VARCHAR2
)

 
+---------------------------------------------------------------------------+

**Starts**01-SEP-2011 02:57:42
**Ends**01-SEP-2011 03:00:41
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---->>>Begin Send Mail----------------------------------------------------+
Mail Error
ORA-29279: SMTP permanent error: 503 Issue RCPT TO: command before DATA command
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+

 

 

 

CREATE OR REPLACE PROCEDURE XXSKE_AUTO_TRX_OVERDUE_MTL
(
    errbuf  OUT VARCHAR2,
    retcode OUT VARCHAR2,
    p_email IN VARCHAR2
)

 

**Starts**01-SEP-2011 03:03:01
**Ends**01-SEP-2011 03:06:06
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---->>>Begin Send Mail----------------------------------------------------+
File IS OK
+----<<<end--------------------------------------------------------------+
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+


+---------------------------------------------------------------------------+

 

你可能感兴趣的:(code)