![]() Previous |
![]() Next |
An OnAttach program can have any name or it can explicitly be named ONATTACH
.
Note: When an analytic workspace is created as an OLAP cube using the OLAP API, the OLAP API may also create a program namedONATTACH . You cannot modify an ONATTACH program that is automatically created in this way. Additionally, overriding the execution of ONATTACH is not recommended.
Consequently, when this type of |
How you specify the execution of an OnAttach program varies depending on its name:
When a program named ONATTACH
. exists in an analytic workspace, each time you attach the workspace, that program executes automatically unless you include a NOOTTACH keyword in the AW ATTACH statement, or unless you include an ONATTACH clause that specifies a different program name.
To execute an OnAttach program that is not named ONATTACH
, specify the name of the program within the ONATTACH clause of AW ATTACH statement.
Note: When you reattach an attached cached workspace, Oracle OLAP does not look for and execute OnAttach programs. To force an analytic worksapce to be fully detached so that Oracle OLAP will look for and execute OnAttach programs when you retach the workspace, specify the NOCACHE keyword in the DETACH statement that detaches the analytic workspace. |