Step 1. Download Instant Client

A.     Instant Client Package - Basic:

(http://download.oracle.com/otn/nt/instantclient/111070/instantclient-basic-win32-11.1.0.7.0.zip)
All files required to run OCI, OCCI, and JDBC-OCI applications

B.     Instant Client Package - SQL*Plus:

(http://download.oracle.com/otn/nt/instantclient/111070/instantclient-sqlplus-win32-11.1.0.7.0.zip )
Additional libraries and executable for running SQL*Plus with Instant Client

    Unzip two file on same folder,like “sql_program”

 

Step 2. Find Alert’s ID and Applicanion’s ID

    A. Use sysadmin account login Oracle ERP and change to “Alert manager” authority

     B.  open tool "HelpàDiagnosticsàExamine" to find Alert and Application ID

Step 3. Use FND_REQUEST to run alert and write to alert.sql

Step 4. Edit connect DB sql file,like “into.sql”
    
connect apps/******@1.2.3.4:1521/TEST
    
@C:\sql_program\alert.sql
     
/
    
exit

Step 5. Edit bat file,like “request.bat”

   set NLS_LANG= AMERICAN_AMERICA.ZHT16BIG5
  
call C:\sql_program\sqlplus /nolog @C:\sql_program\into.sql

 

Step 6. Run the bat file “request.bat” and check the result

 

 

 

文章標籤
全站熱搜
創作者介紹
創作者 toddhsu 的頭像
toddhsu

生活札記

toddhsu 發表在 痞客邦 留言(0) 人氣(447)