Script run_PF_D_TIME.sh
Introduction:
Runs the Process Flow PF_D_TIME.
Location:
Owner | dwmgr |
Path | $DW_RUN/run_PF_D_TIME.sh |
Permissions | 750 |
Run as User | (OS) dwmgr |
Notes:
Introduction:
Runs the Process Flow PF_D_TIME.
Location:
Owner | dwmgr |
Path | $DW_RUN/run_PF_D_TIME.sh |
Permissions | 750 |
Run as User | (OS) dwmgr |
#!/bin/bash |
#!/bin/sh |
Introduction:
Oracle supplied script used to run Process Flows from Linux. Original location is $ORACLE_HOME/owb/rtp/sql - where $ORACLE_HOME is the OWB home.
Location:
Owner | dwmgr |
Path | $DW_RUN/sqlplus_exec_template.sql |
Permissions | 750 |
This template is used as a header for SQL scripts:
-- ------------------------------------------------------------------------- -- |
Introduction:
Process Flow Module to contain Ad-Hoc Data Warehouse mappings.
Metadata:
OWB: Process Flows
Deployed to:
OWF_MGR@WHS
Contains:
AD_HOC
Notes:
Introduction:
[Definition]
Metadata:
[location]
Deployed to:
[location]
Contains:
[location]
Notes:
Introduction:
[Definition]
Metadata:
[location]
Contains:
Introduction:
This Process Flow loads the D_TIME Dimension.
Metadata:
OWB: Process Flows - PM_AD_HOC - AD_HOC
Contains:
Introduction:
[Definition]
Metadata:
[location]
Contains:
Introduction:
Recreate Type TTA_D_TIME and its dependencies.
Location:
Owner | dwmgr |
Path | $DW_WHS/rec_tta_d_time.sql |
Permissions | 750 |
Run as DB User | WHS@WHS |
Introduction:
Drop Type TTA_D_TIME.
Location:
Owner | dwmgr |
Path | $DW_WHS/dro_tta_d_time.sql |
Permissions | 750 |
Run as DB User | WHS@WHS |
Introduction:
Drop Type TOB_D_TIME.
Location:
Owner | dwmgr |
Path | $DW_WHS/dro_tob_d_time.sql |
Permissions | 750 |
Run as DB User | WHS@WHS |
Introduction:
Create Type TTA_D_TIME.
Location:
Owner | dwmgr |
Path | $DW_WHS/cre_tta_d_time.sql |
Permissions | 750 |
Run as DB User | WHS@WHS |
Introduction:
Create Type TOB_D_TIME.
Location:
Owner | dwmgr |
Path | $DW_WHS/cre_tob_d_time.sql |
Permissions | 750 |
Run as DB User | WHS@WHS |
Introduction:
Create synonyms for WHS.
Location:
Owner | dwmgr |
Path | $DW_WHS/cre_syn.sql |
Permissions | 750 |
Run as DB User | WHS@WHS |
Introduction:
An object type that describes the parameters to a function that generates D_TIME data.
Location:
WHS@WHS
Notes:
Introduction:
[Definition]
Location:
[schema]@[instance]
Notes:
Introduction:
A function to support the M_W2W_D_TIME mapping. This, pipelined, function creates a row for the dimension D_TIME for each date that falls into the period specified by the input parameters and returns the values in a table type; tta_d_time.
Location:
WHS@WHS
Sourced From:
dwmgr - $DW_WHS/f_d_time.sql
Deployed To:
WHS@WHS
API:
FUNCTION f_d_time(
p_start_date IN VARCHAR2,
p_end_date IN VARCHAR2)
RETURN tta_d_time;
Introduction:
A sequence used to generate level keys for the Time Dimension.
Services:
D_TIME
Notes:
Location:
[owner]@[schema]
Referenced Object:
[owner].[object]@[schema]
Notes:
Introduction:
Test script for Package P_TIME_LIB.
Location:
Owner | dwmgr |
Path | $DW_LIB/p_time_lib_test.sql |
Permissions | 750 |
Introduction:
A set of library functions and procedures to support time, date and period functionality.
Location:
Owner | dwmgr |
Path | $DW_LIB/p_time_lib.sql |
Permissions | 750 |
Introduction:
Test script for Package P_STRING_LIB.
Location:
Owner | dwmgr |
Path | $DW_LIB/p_string_lib_test.sql |
Permissions | 750 |
Introduction:
A set of library functions and procedures to support string manipulation.
Location:
Owner | dwmgr |
Path | $DW_LIB/p_string_lib.sql |
Permissions | 750 |
Introduction:
Test script for Package P_NUMBER_LIB.
Location:
Owner | dwmgr |
Path | $DW_LIB/p_number_lib_test.sql |
Permissions | 750 |
Introduction:
A set of library functions and procedures to support number manipulation.
Location:
Owner | dwmgr |
Path | $DW_LIB/p_number_lib.sql |
Permissions | 750 |
Introduction:
Return the cardinal string equivalent of the input number.
Location:
P_NUMBER_LIB
API:
FUNCTION cardinal_num(
p_number NUMBER)
RETURN VARCHAR2;
Introduction:
A set of library functions and procedures to support number manipulation.
Metadata Location:
Definition.
Sourced From:
dwmgr - $DW_LIB/p_number_lib.sql
Deployed To:
ctl@sta
Contents:
Introduction:
Strips all of the specified character from the start of the string.
Location:
P_STRING_LIB
API:
FUNCTION ltrim_chr(
p_string VARCHAR2,
p_chr CHAR)
RETURN VARCHAR2;
Introduction:
A set of library functions and procedures to support string manipulation.
Metadata Location:
Definition.
Sourced From:
dwmgr - $DW_LIB/p_string_lib.sql
Deployed To:
ctl@sta
Contents:
Introduction:
Returns the number of the financial year in the Australian financial year (1st July - 30th June) year that a date falls in.
Location:
P_TIME_LIB
API:
FUNCTION financial_year(
p_date DATE)
RETURN NUMBER;
Introduction:
Returns the number of the financial quarter in the Australian financial year (1st July - 30th June) year that a date falls in.
Location:
P_TIME_LIB
API:
FUNCTION financial_qtr(
p_date DATE)
RETURN NUMBER;
Introduction:
Returns the number of the financial month in the Australian financial year (1st July - 30th June) year that a date falls in.
Location:
P_TIME_LIB
API:
FUNCTION financial_month(
p_date DATE)
RETURN NUMBER;
Introduction:
Returns the number of the financial week in the Australian financial year (1st July - 30th June) year that a date falls in.
Metadata Location:
P_TIME_LIB
API:
FUNCTION financial_week(
p_date DATE)
RETURN NUMBER;
Introduction:
Returns the number of the calendar quarter in the year that a date falls in.
Location:
P_TIME_LIB
API:
FUNCTION calendar_qtr(
p_date DATE)
RETURN NUMBER;
Introduction:
Returns the number of the calendar week in the year that a date falls in.
Location:
P_TIME_LIB
API:
FUNCTION calendar_week(
p_date DATE)
RETURN NUMBER;
Introduction:
A set of library functions and procedures to support time, date and period functionality.
Metadata Location:
Definition.
Sourced From:
dwmgr - $DW_LIB/p_time_lib.sql
Deployed To:
ctl@sta
Contents:
Introduction:
Pre-load the Time Dimension with natural and financial calendar data.
Metadata Location:
OWB - WHS - Mappings
Deployed To:
whs@whs
Included Objects:
Source Tables:
Process Flow |
PF_D_TIME |
Introduction:
[definition]
Metadata Location:
[facility metadata is stored]
Deployed To:
[deployment location]
Included Objects:
Source Tables:
Process Flow |
Introduction:
The Time Dimension (D_TIME) contains several navigable hierarchies relating to time - these represent different ways of viewing the calendar. The two major groups are Natural (i.e. the normal yearly calendar) and Financial (a calendar representing the Australian business year).
Metadata Location:
OWB - WHS - Dimensions
Deployed To:
whs@whs
Links:
Included in Mappings:
Mappings |
M_W2W_D_TIME |
Dependent On | Dependent To |
None | Multiple objects |
Introduction:
Initial load of Table REPOSITORIES.
Location:
dwmgr - $DW_CTL - 750
Notes:
Introduction:
Test script for Package PK_CTL_GEN.
Location:
dwmgr - $DW_CTL - 750
Notes:
Introduction:
A package for general control procedures.
Location:
dwmgr - $DW_CTL - 750
Notes:
Index for F_%, P_%, PK_%, DAT_%, CRE_%, DRO_%, REC_%, run_PF_D_%
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Other
A:
B:
C:
pk_ctl_gen.sql
pk_ctl_gen_test.sql
D:
E:
F:
G:
H:
I:
J:
K:
L:
M:
N:
p_number_lib.sql
p_number_lib_test.sql
O:
P:
Q:
R:
dat_repositories.sql
S:
p_string_lib.sql
p_string_lib_test.sql
(WHS) cre_syn.sql
T:
p_time_lib.sql
p_time_lib_test.sql
cre_tob_d_time.sql
cre_tta_d_time.sql
dro_tob_d_time.sql
dro_tta_d_time.sql
rec_tta_d_time.sql
run_PF_D_TIME.sh
U:
V:
W:
X:
Y:
Z:
Other:
Introduction:
[Definition]
Location:
Owner | |
Path | |
Permissions | |
Run as User |
Introduction:
Close the mapping_histories row by adding an end timestamp.
Metadata Location:
PK_CTL_GEN
API:
PROCEDURE finalise_mapping(
p_mapping IN VARCHAR2,
p_run_no IN NUMBER);
Index for F_D_%
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Other
A:
B:
C:
CALENDAR_QTR
CALENDAR_WEEK
CARDINAL_NUM
D:
E:
F:
FINALISE_MAPPING
FINANCIAL_MONTH
FINANCIAL_QTR
FINANCIAL_WEEK
FINANCIAL_YEAR
G:
H:
I:
INITIALISE_MAPPING
J:
K:
L:
LTRIM_CHR
M:
N:
O:
P:
Q:
R:
S:
T:
F_D_TIME
U:
V:
W:
X:
Y:
Z:
Other:
Introduction:
Generate a timestamp and run number for the run. Create a mapping_histories row to start the run.
Metadata Location:
PK_CTL_GEN
API:
PROCEDURE initialise_mapping(
p_mapping IN VARCHAR2,
p_run_no OUT NUMBER,
p_run_date OUT DATE);
Introduction:
[Definition]
Location:
[schema]@[instance] OR [link to containing package]
Sourced From:
[user] - [path] *Remove if contained in package.
Deployed To:
[schema]@[instance] *Remove if contained in package.
API:
[API]
Introduction:
A package for general control procedures.
Metadata Location:
Script - pk_ctl_gen.sql
Sourced From:
dwmgr - $DW_CTL
Deployed To:
ctl@sta
Contents:
Introduction:
[Definition]
Metadata Location:
[Link to script post]
Sourced From:
[user] - [path]
Deployed To:
[schema]@[instance]
Contents:
[procedure name linked to specification]
[function name linked to specification]
Notes:
Introduction:
[definition]
Services:
[database object]
Notes:
Introduction:
A history of mapping runs.
Metadata Location:
Designer - ctl
Deployed To:
ctl@sta
Links:
None.
Notes:
Introduction:
A library of all available mappings.
Metadata Location:
Designer - ctl
Deployed To:
ctl@sta
Links:
None.
Notes:
Introduction:
[definition]
Metadata Location:
[facility metadata is stored]
Deployed To:
[deployment location]
Links:
Included in Mappings:
Mappings |
Dependent On | Dependent To |
Introduction:
Contains repository references.
Metadata Location:
Designer - ctl
Deployed To:
ctl@sta
Links:
None.
Notes:
Introduction:
This post describes how a Process Flow is created in OWB.
Aim:
Create a Process Flow.
Requirements:
Mappings / Process Flows exist.
Procedure:
Introduction:
This post describes how a Wrapper Process Flow is created in OWB.
A Wrapper Process Flow wraps a single Mapping and fulfills the following requirements:
Introduction:
This procedure describes how a mapping is created in OWB. This, by definition can only be the outline. Mappings can be very complex and their design falls into an entire subject area.
Aim:
Create a Dimension definition in OWB.
Requirements:
Access to an OWB Target Module.
Procedure:
-- ------------------------------------------------------------------------- -- |