Category: SAS

Uploading a File (via the Web) into SAS

I must recommend that you check out this example from pg 70 of the SAS Stored Process Developers Guide. http://support.sas.com/documentation/cdl/en/stpug/61271/PDF/default/stpug.pdf

This is a pretty sweet example of how to upload a file from your mach…

Computing Ages in SAS: New Function Needed

The following excerpt is from an e-mail message I sent to suggest@sas.com.  I know other people have suggested that we need a function designed specifically for computing ages, and I wanted to add my voice to that chorus. “I would like to make a suggestion for Base SAS.  SAS needs a function that is designed […]

Tired of Typing domain/username to access SAS components?

The following option can be added to the Metadata Server to default users to a specific DOMAIN. This removes the requirement of using domain\username or username@domain formats for the username field.

-authproviderdomain (HOSTUSER:DOMAINNAME)
I …

Learning about What’s New in Your SAS Products

Contributed by Marie Dexter, SAS
Are you a customer who is upgrading from SAS 8.2 to SAS 9.2? Or are you a customer who is currently running SAS 9.2 and you want to apply the third maintenance release for SAS 9.2? How can you learn about the new …

Second year of entries!

Hello, readers new and old!We started adding examples a year ago, in advance of the book’s publication. To mark the occasion, we’re closing chapter 7 and starting chapter 8 next week. We’ve crafted a listing of all entries from the first year and mad…

How to predict unemployment rate in US by SAS/ETS

The raw data: hereFILENAME data URL “http://research.stlouisfed.org/fred2/data/UNRATE.txt” DEBUG LRECL=100;data one;infile data;input @1 year 4. @6 month 2. @9 day 2. uer;DATE = MDY(MONTH,DAY,YEAR);FORMAT DATE monyy7.;drop year month day;if date=. th…

"Entrywise" Norm calculation using PROC FASTCLUS

In some data mining applications, matrix norm has to be calculated, for instance [1]. You can find a detailed explanation of Matrix Norm on Wiki @ Here

Instead of user written routine in DATA STEP, we can obtain “Entrywise” norm via PROC FASTCLUS ef…

References for Using the XML Engine

Included are some references for using the Libname XML Engine. This can be handy for writing and reading xml.

SAS Documentation on the XML Libname for 9.2: http://support.sas.com/documentation/cdl/en/engxml/61740/HTML/default/a002594363.htm

An exam…