このサンプル・シナリオでは、Oracle Enterprise Data Management CloudアプリケーションとOracle Enterprise Performance Management Cloudアプリケーション間でのディメンションの同期方法を調べます。
この項のスクリプトを使用して、次のタスクを完了できます:
Oracle Enterprise Data Management CloudアプリケーションとEPM Cloudアプリケーション間でディメンションおよびマッピングを同期するには:
次のスクリプトをコピーして、スクリプト・ファイルを作成します:
rem Integration example to sync application dimensions between EDM and EPM Cloud rem Windows script for demonstration purposes only; do not use in production environments set EDMUSER=userid set EDMSVR=https://hostname set EDMPWDFILE=example_EDM set EDMAPP=appname set EDMDIM=dimname set EDMLOC=location set EPMUSER=userid set EPMSVR=https://hostname set EPMIMPJOB=importjobname set PWDFILE=C:\Oracle\EPM.epw set DIMFILE=dimension.csv set MAPFILE=mapping.csv rem Synchronizing EDM ---> EPM rem Export Dimension and Mappings from EDM call epmautomate login %EDMUSER% %EDMPWDFILE% %EDMSVR% call epmautomate exportdimension %EDMAPP% %EDMDIM% %DIMFILE% call epmautomate exportdimensionmapping %EDMAPP% %EDMDIM% %EDMLOC% %MAPFILE% call epmautomate logout rem Log into the EPM Cloud environment call epmautomate login %EPMUSER% %PWDFILE% %EPMSVR% rem Copy exported files from EDM environment to EPM and import metadata and mappings call epmautomate copyfilefrominstance %DIMFILE% %EDMUSER% %EDMPWDFILE% %EDMSVR% inbox/%DIMFILE% call epmautomate importmetadata %EPMIMPJOB% call epmautomate copyfilefrominstance %MAPFILE% %EDMUSER% %EDMPWDFILE% %EDMSVR% inbox/%MAPFILE% call epmautomate importmapping %EDMDIM% %MAPFILE% REPLACE FALSE %EDMLOC% call epmautomate logout
スクリプト実行用のパラメータ
この項のスクリプト・ファイルには、次の表で説明するいくつかのパラメータ値を指定する必要があります。これらのすべてのパラメータがすべてのスクリプトで使用されるとはかぎりません。
表3-27 スクリプト・ファイル用のパラメータ値
パラメータ | 説明 |
---|---|
EDMUSER |
Oracle Enterprise Data Management Cloudサービス管理者のユーザー・ログインID。 例:EDMUSER=jdoe@example.com |
EDMSVR |
Oracle Enterprise Data Management Cloud環境のURL。 例:EDMSVR=https:// example.oraclecloud.com |
EDMPWDFILE |
Oracle Enterprise Data Management Cloudサービス管理者の暗号化パスワード・ファイル(EPW)の名前と場所。 例:EDMPWDFILE=edm_jdoe.epw |
EDMAPP |
Oracle Enterprise Data Management Cloudアプリケーションのディメンションの名前。 例:EDMAPP=USOperations |
EDMDIM |
エクスポートまたはインポートするディメンションの名前。 例:EDMDIM=entity |
EDMLOC |
エクスポートする場所の名前。 例:EDMLOC=Loc1 |
EPMUSER |
EPM Cloudサービス管理者のログイン名。 例:EPMUSER=john.doe@example.com |
EPMSVR |
EPM Cloud環境のURL。 例:EPMSVR=https://example.oraclecloud.com |
EPMIMPJOB |
EPM Cloud環境の既存のインポート・ジョブ・タイプimport metadataの名前。 例:EPMIMPJOB=imp_DIMMetadata |
EPMEXPJOB |
EPM Cloud環境の既存のジョブ・タイプ EPMEXPJOB=Exp_DIMMetadata |
PWDFILE |
EPM Cloudサービス管理者用の暗号化パスワード・ファイル(EPW)の名前と場所。 PWDFILE=pwd_jdoe.epw |
DIMFILE |
エクスポートしたディメンション・データを保存するファイルの名前。 例:DIMFILE=entity_file.CSV |
MAPFILE |
エクスポートしたマッピング・データを保存するファイルの名前。 例:MAPFILE=map_file.CSV |