DBA_FND Load程式迁移工具介绍和应用(案例)

2014-06-10 Created By BaoXinjian

一、摘要


1. FNDLOAD的作用

则是为了移植EBS数据定义而诞生的工具,有LCT控制文件和LDT设定源数据

2. 存在两种模式: 下载/上传

下载: FNDLOAD apps/apps 0 Y DOWNLOAD afcpprog.lct xxap_prog.ldt PROGRAM APPLICATION_SHORT_NAME=XXAP 

         CONCURRENT_PROGRAM_NAME=XXAP_PROGRAM

上传: FNDLOAD apps/apps 0 Y UPLOAD afcpprog.lct xxap_prog.ldt

3. 常用的FND_LOAD的lct文件

  • afcpprog.lct: 可执行、并发程序、值集、弹性域
  • afcpexec.lct:可执行程序
  • afattach.lct:附件
  • afcpreqg.lct: 请求组
  • afcprset.lct: 请求集
  • afffload.lct: 值集、关键性弹性域和描述性弹性域及相关安全性设置
  • aflvmlu.lct: Lookups
  • afmdmsg.lct: 消息
  • afscprof.lct: profile options 预制文件
  • afscursp.lct: Application users,User Responsibilities,Security groups,Applications,Application Responsibilities and Exclusion Functions
  • afsload.lct: FORM, FUNCTION, MENU, ENTRY, OBJECT, OBJECT_INSTANCE_SET, GRANT
  • affrmcus.lct: Form个性化定义

4. FND Load的结构

5. FND Load的基本语法

FNDLOAD [username/password] 0 Y [mode] [configuration file] [target data file] [object type key] [object Identifier]

例如. 并发程式的语法

(1). download 

FNDLOAD apps/pwd@seeddb 0 Y 

DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt  

PROGRAM APPLICATION_SHORT_NAME="prod" CONCURRENT_PROGRAM_NAME="concurrent name"   

(2). upload 

FNDLOAD apps/apps@seeddb 0 Y 

UPLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt 

FUNCTION FUNC_APP_SHORT_NAME="app_short_name" FUNCTION_NAME="function_name"

 

二、案例


案例:对并发程式Request进行迁移

Step1. 查看需下载的并发程式

Step2. 通过FND Load进行下载,

FNDLOAD存放路径为: /u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/bin or $FND_TOP/bin

FNDLOAD apps/apps@VIS 0 Y

DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct /tmp/bxj/xxbxjpghtmlrp.ldt

PROGRAM APPLICATION_SHORT_NAME="SQLAP" CONCURRENT_PROGRAM_NAME="BXJPGHTMLRP" 

Step3. 查看下载的ldt文件,确认无误

Step4. 通过FNDLoad进行上传

FNDLOAD apps/apps@VIS 0 Y

UPLOAD $FND_TOP/patch/115/import/afcpprog.lct /tmp/bxj/xxbxjpghtmlrp.ldt

FUNCTION FUNC_APP_SHORT_NAME="SQLAP" FUNCTION_NAME="BXJPGHTMLRP"

Step5. 查看上传后的结构,我测试的是同一个instance,将原来的CP从Database中删掉了,条件限制,无法测试不同instance间的迁移

 

Thankns and Regards

posted on 2014-06-11 11:02  东方瀚海  阅读(1058)  评论(0编辑  收藏  举报