Posts Tagged ‘ SAS 9.1 ’

Creating Information Map Libnames (9.1.3)

Feb
13

If you want to use a Information Map as a data source for tasks such as DI Studio Jobs, Stored Processes, or building OLAP cubes, you can create a SAS Library that points to a folder that contains the Information Maps.

Each Information Map then gets treated as a table in the library.

To do this either use the following SAS code:

libname ImapLib sasioime
user=”username”
pw=”password”
metaserver=”servername”
metaport=8561
metarepository=”Foundation”
mappath=”/BIP Tree/InfoMaps/sales”

Of course you need to add your on environment settings for the variables.

Or you can create it in metadata by creating a libname with:

  • Create a generic libname
  • Type =  sasioime
  • Options = user=”username” pw=”password” metaserver=”servername” metaport=8561 metarepository=”Foundation” mappath=”/BIP Tree/InfoMaps/sales”

Issues to be aware of:

  • It is slow as you are going through multiple layers to get to the data (i.e Libname > Infomap > Query and Reporting Services > Libname > Data)
  • The user is hard coded for the libname
  • If the libname has fields defined with gaps in the names the SAS Libname will not show the column.
Share
Posted by  
0 Comments

Changing the default number of rows in WRS

Mar
03

If you want to change the default number of rows in a WRS table from 40 to something else, this SAS support note will tell you how:

Changing the default number of rows displayed and scrolled in a table in a Web Report Studio report

Share
Posted by  
0 Comments

Cascading Prompts in SAS Web Report Studio 3.1 (9.1)

Jul
14

The current release of SAS Web report Studio (3.1/SAS 9.1) doesn’t allow you to define cascading prompts, by this I mean allowing a user to select a country and then based on the country selected allow them to select a state within that country.

However in a paper presented at SAS Forum 2008 titled SAS Web Report Studio Tips and Techniques (Paper 064-2008 ) there is an innovative way outlined on how you can provide this capability by using linked reports.

The approach they have worked out is to create a report for each level of prompt and link the reports, enabling the user to select the appropriate value on each report (i.e first report they click on country from a list, then second report shows states etc) and then be linked to the next report where they can select the next parameter value, and so on and so on.

Great thinking outside the box!

Share
Posted by  
1 Comment