BookmarkSubscribeRSS Feed
Phil_SBI
Calcite | Level 5
In a proc SQL, is it possible to read the data from an external OLAP Cube (like Essbase or Microsoft) via OLE DB like for a SAS OLAP cube?

example with a SAS OLAP cube:
proc sql;
connect to olap (host=localhost port=5451
user=sasdemo pass=SASDEMO);
create table temp as select * from connection to olap
(
SELECT
{ [geo].[All geo].Children } ON COLUMNS ,
{ CrossJoin ( Hierarchize({ [product].[product].[All product], [product].[product].[All product].Children }) ,
{ [Measures].[QuantitySUM] } ) } ON ROWS
FROM
[Orion]
);
disconnect from olap;
quit;
2 REPLIES 2
ChrisNZ
Tourmaline | Level 20
Yes you can do this, you need sas/access to oledb.

See doc TS-700,
DLanningham
SAS Employee

There are some topics in the SAS OLAP Server User's Guide that may also be of use. See the topics:

  • Accessing OLAP Cubes from SAS : SQL Pass-Through Facility for OLAP
  • Connecting to a SAS OLAP Server Using the OLEDB Protocol

Note:  the SQLRC macro will also let you validate the success of your Proc SQL connection.  This willbe documented in the 9.4 release.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2600 views
  • 0 likes
  • 3 in conversation