Blogging about all things SAS

March 5, 2010

SAS Management Console 9.1.3 – Invalid Templates

Filed under: SAS 9.1 — Tags: — Shane Gibson @ 10:10 pm

Its been a full on week what with the SAS 9.2 migration and a whole lot of other work happening on another project.

Also this week I seem to have been shown a lot of tips and tricks I didn’t know you could do.

One of them was found by Rob and passed on to me (thanks Rob).

The issue was in SAS 9.1.3 Management Console and related to some of the screens not having all the relevant fields displayed.  As an example the Libname edit screen might be missing the field where you normally define the file path.

The fix was to go into the Metadata Manager > Resource Templates tree in SMC and delete the relevant template.

Then logout of SMC and log back in and SAS will automagically re-create a new template, and it will be valid.

February 14, 2010

DI Studio – Missing Nodes – DentityExpansionLimit=1000000

Filed under: DI Studio, SAS 9.1 — Tags: , — Shane Gibson @ 8:35 pm

I needed to install the SAS 9.1.3 Clients into a new Citrix server (yes it is unsupported in 9.1.3 but has worked well for the last 4 years, just don’t ask SAS Tech Support for help of course).

After the installs were all complete and we started migrating users from our old Citrix server, they started complaining of issues with DI Studio.  These included:

- Nodes missing in the Inventory tree

- Options missing in the custom transform / custom code nodes

Adding the following option to the DI Studio ini file fixed both issues:

-DentityExpansionLimit=1000000

No idea why it fixed it and only reference on support.sas.com is a similar setting for Information Map studio here to fix it not being able to open more than 999 objects.

But as always fix it first, question it later.

February 13, 2010

Creating Information Map Libnames (9.1.3)

Filed under: Architecture and Administration, SAS 9.1 — Tags: , , — Shane Gibson @ 9:02 pm

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.

February 2, 2010

November 12, 2009

SAS 9.1 Toolpool entries dead in SAS 9.2, we can resurrect the dead!

Filed under: SAS 9.1, SAS 9.2 — Shane Gibson @ 9:17 pm

I have heard from a few SAS customers who have been using some of the SAS Toolpool entries in SAS 9.1 that they no longer work with SAS 9.2.

And as of course they are toolpool entries they are not officially supported by SAS so there may not be an immediate upgrade path to SAS 9.2.

But of course some of them are still providing additional functionality that is not available in SAS 9.2.

So I have been thinking of ways to keep the development team busy over Xmas, and recreating some of these might be the ticket.

So if you have one that you need, let us know what it does, and you will never know what Santa and his elves may deliver ;-)

Please don’t send us a copy (we write all our sasInct Portlets from scratch) but feel free to post here what it does, or create a support track at http://support.sasinct.com/login

And lastly we will post any that we develop on our website for the usual one off USD $1,000,  unlimited users/no expiration, (these elves are not cheap) and of course if it is a biggy (aka Metadata Explorer etc) then we probably wont.

October 21, 2009

ABM 6.x and SAS Share, You need to love identical twins

Setting up SAS Share to enable you to Import and Export ABM models is one of those things that always seems to be a bit tricky to get working.

I found a public doc on the old ABC Tech support site here, that explains the steps. I have also cut and paste the content below in case the doc disappears.

One thing to note is that if you have two SAS servers wanting to talk via this SAS Share link (i.e one with SAS ABM and the other with SAS DI or EG etc) you need to make sure the SAS Share names are identical on both servers or it wont work!

Oh and don’t forget that you need SAS Share OLEDB client on every PC that wants to export/import. You can install this from the SAS ABM Client install page on your ABM Webserver.

(more…)

October 19, 2009

SAS 9.1.3 I/O Errors on a Windows 2003 server

Filed under: Architecture and Administration, SAS 9.1 — Tags: , — Shane Gibson @ 10:10 pm

A while ago we had a major problem as a result of upgrading our Windows servers and operating system, where we started to get a large number of I/O errors when running our batch schedule.

In the end we fixed it by changing the Paged Pool Usage Maximum set from 80% to 40% on the servers as our Windows guru’s worked out that SAS was filling the Windows cache faster than Windows could clear it, causing the I/O errors.

SAS support also suggested we follow this instrauctions in this tech support note:

http://support.sas.com/resources/papers/IOthruSGIO.pdf

If you have struck another fix then let me know.

October 1, 2009

SAS 9.1 / WRS 3.1 – Changes to Metadata Roles takes it time

While researching and testing the default Web Report Studio metadata security I noticed this little trick for young players, which means changes to WRS/WRV Metadata Security for a user are not instantly applied/recognised in WRS/WRV.

Words from the SAS tech support note “Changes to SAS® Web Report Studio role memberships might not immediately be enforced:

“SAS Web Report Studio analyzes role memberships every 30 minutes. So, for example, if you move a user from the WRS Report Author role to the WRS Report Consumer role, the user will continue to have author privileges until the next time that he logs in after the next role membership analysis is performed.

So effectively the WRS/WRV applications are caching the Metadata security to remove the need for the web server to query the Metadata Server each time a user logins.

So try not to be fast when testing your WRS Metadata security changes, else you will think you have done something wrong. And remember to logout and log back in after the cache has been updated.

You can update the LocalProperties.xml file to change the refresh time, and therefore make the changes appear sooner. Details on how to do this are in the SAS Tech Support note.

September 30, 2009

September 29, 2009

Older Posts »

Powered by WordPress