0% found this document useful (0 votes)
134 views

Package PKG - ASO - TO - DIM: Oracle Data Integrator - Package

This package moves dimensional metadata from an Essbase database into a SQL Server staging database. It executes an Essbase outline extractor, then several interfaces to load the data into staging tables, and will send an error notification if any step fails.

Uploaded by

ali
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views

Package PKG - ASO - TO - DIM: Oracle Data Integrator - Package

This package moves dimensional metadata from an Essbase database into a SQL Server staging database. It executes an Essbase outline extractor, then several interfaces to load the data into staging tables, and will send an error notification if any step fails.

Uploaded by

ali
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Oracle Data Integrator - Package

Package pkg_ASO_TO_DIM
Creation date: Last modification: Description: 6/7/11 11:30 AM 6/7/11 11:30 AM by: by: SUPERVISOR SUPERVISOR This package is used to move all dimensional metadata from the Essbase into the SqlServer Staging database. Steps: - Acquire the location of the Outline Extractor .BAT file and the output file destination. - Execute an OS command .BAT file to execute the Essbase Outline Extractor for all dimensions. - Execute the int_TU_HYP_Account interface. - Execute the int_TU_HYP_Activity interface. - Execute the int_TU_HYP_Affiliate interface. - Execute the int_TU_HYP_Bus_Unit interface. - Execute the int_TU_HYP_Department interface. - Execute the int_TU_HYP_Exp_Code interface. - Execute the int_TU_HYP_Location interface. - Execute the int_TU_HYP_Period interface. - Execute the int_TU_HYP_Scenario interface. - Execute the int_TU_HYP_Source interface. - Execute the int_TU_HYP_View interface. - Execute the int_TU_HYP_Year interface. ------------------ If an error is detected: - Prepare the body of an error notification email. - Execute the common Error Notification scenario. - Raise an error to terminate processing.

Notes: - Proper execution of the .BAT file requires that the ODI agent service be logged on as a registered system account (not the Local System Account) in order to have full access to the Essbase Outline Extractor and Essbase Client applications. These login and password values should ideally be reflected in the ..\oracledi\tools\wrapper\conf\wrapper.conf file. - The delimiter for all extract files is a ( ` ) hex 60.

Step list:
Step
Refresh Loc Scripts Refresh Loc Extracts Essbase Outline Extractor

Type
Refresh Variable Refresh Variable Oracle Data Integrator Command Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Flow (Interface) Refresh Variable Oracle Data Integrator Command Procedure

Next Step
Refresh Loc Extracts Essbase Outline Extractor int_TU_HYP_Account

On failure
Refresh Error Email Refresh Error Email Refresh Error Email

int_TU_HYP_Account int_TU_HYP_Activity int_TU_HYP_Affiliate int_TU_HYP_Bus_Unit int_TU_HYP_Department int_TU_HYP_Exp_Code int_TU_HYP_Location int_TU_HYP_Period int_TU_HYP_Scenario int_TU_HYP_Source int_TU_HYP_View int_TU_HYP_Year Refresh Error Email Error Notification

int_TU_HYP_Activity int_TU_HYP_Affiliate int_TU_HYP_Bus_Unit int_TU_HYP_Department int_TU_HYP_Exp_Code int_TU_HYP_Location int_TU_HYP_Period int_TU_HYP_Scenario int_TU_HYP_Source int_TU_HYP_View int_TU_HYP_Year

Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email Refresh Error Email

Error Notification Raise Exception

Error Notification Raise Exception

Raise Exception

8/15/11 - Oracle Page 1

Oracle Data Integrator - Package

Step details:
Refresh Loc Scripts
Type: Linked object: Refresh Variable [SCORPIO].pv_LOC_SCRIPTS Execution order: 0 Context code:

On success
Stop execution: Next Step: no Refresh Loc Extracts Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: pv_LOC_SCRIPTS = no

On failure

Type:

Refresh Variable

Refresh Error Email Refresh Variable

Refresh Loc Extracts


Type: Linked object: Refresh Variable [SCORPIO].pv_LOC_OUTLINE_EXTRACTS Execution order: 1 Context code:

On success
Stop execution: Next Step: no Essbase Outline Extractor Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: pv_LOC_OUTLINE_EXTRACTS = no

On failure

Type:

Oracle Data Integrator Command

Refresh Error Email Refresh Variable

Essbase Outline Extractor


Type: Linked object: Oracle Data Integrator Command Execution order: 2 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Account Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: OdiOSCommand "-WORKING_DIR=#pv_LOC_OUTLINE_EXTRACTS" #pv_LOC_SCRIPTS\Essbase_Extract_All.bat no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

Incremental variable: Evaluation operator: Variable value:

int_TU_HYP_Account

8/15/11 - Oracle Page 2

Oracle Data Integrator - Package


Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Acc ount Execution order: 3 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Activity Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

int_TU_HYP_Activity
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Acti vity Execution order: 4 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Affiliate Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

int_TU_HYP_Affiliate
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Affil iate Execution order: 5 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Bus_Unit Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

int_TU_HYP_Bus_Unit
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Bus _Unit Execution order: 6 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Department Number of attempts: Interval between attempts: Stop execution: Next Step: Type: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

8/15/11 - Oracle Page 3

Oracle Data Integrator - Package


Command: Incremental variable: Evaluation operator: Variable value:

int_TU_HYP_Department
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_De partment Execution order: 7 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Exp_Code Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

int_TU_HYP_Exp_Code
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Exp _Code Execution order: 8 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Location Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

int_TU_HYP_Location
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Loc ation Execution order: 9 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Period Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

8/15/11 - Oracle Page 4

Oracle Data Integrator - Package

int_TU_HYP_Period
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Per iod Execution order: 10 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Scenario Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

int_TU_HYP_Scenario
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Sce nario Execution order: 11 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_Source Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

int_TU_HYP_Source
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_So urce Execution order: 12 Context code:

On success
Stop execution: Next Step: no int_TU_HYP_View Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Flow (Interface)

Refresh Error Email Refresh Variable

int_TU_HYP_View
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Vie w Execution order: 13 Context code:

8/15/11 - Oracle Page 5

Oracle Data Integrator - Package


On success
Stop execution: Next Step: no int_TU_HYP_Year Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no Refresh Error Email Refresh Variable

On failure

Type:

Flow (Interface)

int_TU_HYP_Year
Type: Linked object: Flow (Interface) [SCORPIO].[ASO_TO_DIM].int_TU_HYP_Ye ar Execution order: 14 Context code:

On success
Stop execution: Next Step: yes Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: no

On failure

Type:

Refresh Error Email Refresh Variable

Refresh Error Email


Type: Linked object: Refresh Variable [SCORPIO].pv_MAIL_BODY Execution order: 15 Context code:

On success
Stop execution: Next Step: no Error Notification Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: pv_MAIL_BODY = no

On failure

Type:

Oracle Data Integrator Command

Error Notification Oracle Data Integrator Command

Error Notification
Type: Linked object: Oracle Data Integrator Command Execution order: 16 Context code:

On success
Stop execution: Next Step: no Raise Exception Number of attempts: Interval between attempts: Stop execution: Next Step: Type: no

On failure

Type:

Procedure

Raise Exception Procedure

8/15/11 - Oracle Page 6

Oracle Data Integrator - Package


Command: OdiStartScen "-SCEN_NAME=PKG_EMAIL_NOTIFICATION" "-SCEN_VERSION=001" "-SCORPIO.pv_APPLICATION=DIM" "SCORPIO.pv_MAIL_TYPE=ERROR" "-SCORPIO.pv_MAIL_ATTACH=#SCORPIO.pv_LOC_OUTLINE_EXTRACTS\OtlExtr.log"

Incremental variable: Evaluation operator: Variable value:

Raise Exception
Type: Linked object: Procedure [SCORPIO].[00 COMMON].prc_RAISE_EXCEPTION Execution order: 17 Context code:

On success
Stop execution: Next Step: yes Number of attempts: Interval between attempts: Stop execution: Next Step: Type: Command: Incremental variable: Evaluation operator: Variable value: yes

On failure

Type:

8/15/11 - Oracle Page 7

Oracle Data Integrator - Package

8/15/11 - Oracle Page 8

Oracle Data Integrator - Package

8/15/11 - Oracle Page 9

You might also like