Just update Windows Powershell to version 3.0 and I do like this new GUI (Integrated Scripting Environment, ISE) with a console, a script window and a command list (Powershell is a true Windows shell; you may try to type 1+2 in the old CMD console!): I also used a free Powershell GUI product, PowerGUI...
Read more »
Tags: Computer, PowerShell, SAS
Posted in SAS | Comments Off
A colleague was recently working with a web service that supplies some date-time values using the Microsoft Windows internal representation. He called the web service to retrieve those values (along with other data) from SAS, and he needed convert these values to SAS date-time values. The Microsoft definition for a
Read more »
Tags: date-time, PowerShell, sas programming, Uncategorized, web services
Posted in SAS | Comments Off
In a previous post I showed how you can use Windows PowerShell (with the SAS Local Data Provider) to create a SAS data set viewer. This approach doesn't require that you have SAS installed, and allows you to read or export the records within a SAS data set file. In
Read more »
Tags: data sets, ole db, PowerShell, PROC DATASETS, Uncategorized
Posted in SAS | Comments Off
Have you ever selected File->Schedule Project or Schedule->Process Flow in SAS Enterprise Guide? Are you curious about what magic these actions will trigger? Here's what happens: SAS Enterprise Guide creates a VBScript program that contains the instructions to start SAS Enterprise Guide, load your project, run your project or flow,
Read more »
Tags: .net, automation, PowerShell, SAS Global Forum, SAS GloFo, sascommunity.org, scripting, Uncategorized, vbscript
Posted in SAS | Comments Off
In about 30 lines of PowerShell script, we can build a SAS data set viewer that: Does not require SAS on the PC Provides very basic filtering capability Also allows for easy export to CSV All you need is the ability to run PowerShell scripts, and the SAS Local Data
Read more »
Tags: data sets, PowerShell, Uncategorized
Posted in SAS | Comments Off
This blog post is a "mashup" of a couple of my previous posts, combining the lessons to create something brand new that I hope you will find useful. First, let's review what we know: SAS Enterprise Guide supports a scriptable object model, which allows you to write scripts or programs
Read more »
Tags: automation, batch processing, PowerShell, SAS Enterprise Guide, scripting, Uncategorized
Posted in SAS | Comments Off
As I mentioned in my introductory post about Windows PowerShell, you can use PowerShell commands as a simple and concise method to collect data from your Windows systems; information that is ripe for analysis within SAS. In this example, I'll show a technique for using a SAS program to call
Read more »
Tags: filename pipe, PowerShell, sas administration, SAS tips, Uncategorized
Posted in SAS | Comments Off
Windows PowerShell is one of my favorite tools to use for gathering information from my PC and network, and also for automating processes. If you are familiar with UNIX shells (such as Korn shell or its variants), you will probably be very comfortable with Windows PowerShell. Just like its UNIX
Read more »
Tags: automation, PowerShell, sas administration, Uncategorized
Posted in SAS | Comments Off