Blogging about all things SAS

March 6, 2010

SAS Access – Who plays nicely with who(m)

Filed under: Architecture and Administration, x - Notes to Self — Shane Gibson @ 9:59 pm

Just saw this post on Chris H’s blog here and I am replicating it so I can find it when I need it. (cause half my posts are there so I can find them when I need them)

If you want to know what version of SAS/Access works with what operating system and what release and what database etc, then look here:

http://support.sas.com/matrix/list?SAS=All&Engine=All&OS=All&googleTrack=on

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

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

Does daylight savings effect LSF for you?

Filed under: Architecture and Administration, Scheduling — Tags: , — Shane Gibson @ 1:07 pm

NZ had the pleasure of day light savings on the weekend, where we were all lucky enough to lose an hours sleep.

A couple of sites reported their LSF schedules went a bit funny (good technical term that).

So if the clock on the servers automatically change at 3am and you have a job flow scheduled for 3am what happens?

Haven’t had time to test this but interested in anybody else’s experience.

August 19, 2009

Scheduling in SAS 9.2

Suzanne posted a comment about the changes in LSF renewals that are about to happen.

Made me think about the new scheduling capability that has been bundled in SAS 9.2, so I did a little searching on the SAS Support site.

On the About Scheduling Servers page they provide a good overview of the different options which are available, which are:

  • LSF (Platform Process Manager)
  • Operating System (guessing Cron for Unix and Windows Scheduler)
  • In-Process scheduling server (which is a new part of SAS 9.2)

So what does the In-Process scheduling server cover?

Well according to most of the support pages it only refers to Web Report Studio, but back on the About SAS Scheduling page it mentions:

  • SAS Data Integration Studio
  • SAS Web Report Studio
  • SAS Marketing Automation
  • And custom SAS code

I notice Enterprise Miner models are missing, I am guessing you could schedule them as custom SAS code but I do wonder if it just wasn’t mentioned because EM 6.1 was released slightly after the initial 9.2 release.

Although I did check out the What new in Enterprise Miner 6.1 page and nothing was mentioned.

Ps. There is a great flow diagram (well ok the graphics aren’t that great but you know what I mean) on the Overview of the Scheduling Process page which shows how the new scheduling all hangs together.

It reminded me of the internal presentations SAS had on flow a transaction went through when it came to Authentication and Authorisation of the SAS environment. It was the only way I finally got to understand how it all hug together, so I am a great fan of process flow diagrams.

Which is one of the reasons I liked LSF because you could see a graphical flow, and its great to see the new SAS In-Process scheduling server has graphical process flow, and they look much sexier than the LSF ones (and yes this is important!). Check out an example of the Specifying Dependencies page

August 17, 2009

SAS Administration

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

I am always amazed at how many people under estimate the level of administration that the SAS 9.x platform now requires.

I think it stems from the old SAS 8 environment that really managed itself.

But SAS 9.1 and 9.2 is a multi tier environment with lots of moving parts and so you really need a dedicated (even if it is only part time) administrator to make sure it is humming.

Thotwave have a great paper titled SAS® Administration, More relevant than ever that provides a good explanation of what this role needs to achieve.

And of course any administrator should also attend the SAS PA Fast course as well.

It also looks like in SAS 9.2 there are lots of great changes to make administrating the SAS environment easier.

Even if you decide to have one of your analytic or business users manage your environment, still send them on the training. It will save them a lot of time and you a lot of money.

Older Posts »

Powered by WordPress