March 2014

SAS – How to Export/Import packages

My team and I have been developing a solution which involves a degree of SAS reports and related metadata. I set up a scheduled, automated backup of our information maps, reports, etc for posterity, and out of general paranoia. For this I used SAS’s command line export and import capabiltiies, which probably weren’t designed to be used that way, but which turned out to be really useful. It took a… Read More »SAS – How to Export/Import packages

Converting custom date formats in SAS Information Map Studio

Background Let’s assume you have some dates in a custom format:   date20131007 month102013 SAS Reports need to be able to a) present dates in a human readable format and b) understand dates to allow filtering and other funky stuff. For that reason we need a way of translating these custom dates into SAS dates. Step 1 – Get an Information Map with a date field Use an existing one,… Read More »Converting custom date formats in SAS Information Map Studio

How to restart SAS server

More detailed instructions can be found here, but below are the steps I use. Note – All instructions assume the SAS is installed on a linux box, in /usr/local/, since that’s where it was installed on my machine. Stop all JBoss server instances /usr/local/jboss-5.1.0.GA/bin/SASServer1.sh stop Stop SAS processes /usr/local/config/Lev1/sas.servers stop Start SAS processes /usr/local/config/Lev1/sas.servers start (wait a couple of minutes) Start JBoss server instances /usr/local/jboss-5.1.0.GA/bin/SASServer1.sh start (wait about 5, 10… Read More »How to restart SAS server