Previous
Previous
 
Next
Next

OnAttach Programs

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 named ONATTACH. 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 ONATTACH program exists in an analytic workspace, create a different type of startup program to specify behavior that you want performed when that analytic workspace is attached.


How you specify the execution of an OnAttach program varies depending on its name:


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.