I have come across the following stored procedure within an Oracle database:
CREATE OR REPLACE PROCEDURE PRICING.sp_run_interface
as
begin
DBMS_OUTPUT.ENABLE(1000000);
dbms_aw.execute('aw attach bewpsp ro');
dbms_aw.execute('aw attach bewpsd ro');
dbms_aw.execute('run.interface');
dbms_aw.execute('aw detach noq bewpsp');
dbms_aw.execute('aw detach noq bewpsd');
END;
/
After much research, I believe that these statements are executing an OLAP DML Program. However I’ve no idea how to actually view the contents of these programs, or indeed where they are stored.
I’m using TOAD and would appreciate being pointed in the right direction.
It looks like this code is first attaching 2 analytic workspaces, running a program, and then detaching them again.
Oracle Analytic Workspaces has now been superseeded by Oracle OLAP.
You’ll need to find someone to show you how to navigate the analytic workspaces most likely via analytic workspace manager. Then just type
edt run.interfaceand this will show you the contents of the run.interface program.Hope this helps!
Regards,
Tony