Humble Trader

Tuesday, February 14, 2006

Time Dimension Implementation Notes

  • As this is the first time that whs objects will be created in designer, create an Application System Context Container:
    • Open Designer - Entity Relationship Diagrammer.
    • File -> New
    • Choose Container:
      • Click [List-of-Values].
      • [Create]
    • Select Type:
      • -Application Systems-
      • [OK]
    • Select Object:
      • Change the name of the newly created icon to whs.
      • [OK]
    • Choose Container:
      • -whs-
      • [OK]
    • The container is created and a diagrammer window displayed. There is no diagram at this stage so the Entity Relationship Diagrammer can be closed.
    • Open Design Editor - Server Model. The new container should be listed.
  • Open Design Editor - Server Model - whs and create and generate the following objects to whs@whs:
  • Move the following code to the whs code directory:
  • Start OWB:
    • I need a DB Link between whs and ctl so that my table function can access the PL/SQL library housed on ctl:
    • The Connector needs to be deployed to whs before it can be used and before that can happen, a Runtime Repository Connection needs to be created:
      • Create a Runtime Repository Connection to the repository on whs named WHS_RTM.
  • As dwmgr, start sqlplus as whs@whs and run the following scripts:
    • rec_tta_d_time.sql
      • Ignore the errors associated with the DROP statements.
    • f_d_time.sql
      • Note: This will create the function and then run a short test where it selects a few days from the function.
  • Define the Dimension in OWB:
  • Create the Mapping in OWB:
  • Create the Process Flow in OWB:
  • Create the shell wrapper script:

0 Comments:

Post a Comment

<< Home