Architecting, installing and maintaining your SAS environment

SAS Environment Template

New Contributor
Posts: 2

SAS Environment Template

Is it possible to create a SAS environment template that can be adjusted and edited programmatically and be deployed programmatically? I am using powershell for deployment.

Currently, I'm trying to export the .spk package, edit the metadata in a .zip archive, and import the .spk back into SAS.

I'm using SAS Office Analytics, release SAS 9.4M2 on Windows 2012 R2.

Posts: 27

Re: SAS Environment Template

Arguably, most of the critical artifacts can be deployed programmatically. Using the -responsefile option when running or setup.exe creates a file that can be edited or just replayed against the same or similar SAS Depot. Manual changes using SASMC can be exported as objects into .spk for everything else. There are other interfaces (%mdu* , proc metadata, Java APIs) which I find less useful.

Valued Guide
Posts: 3,208

Re: SAS Environment Template

SAS is dictating the use of the SDW The SAS Deployment Wizard. As that wizard more a charlatan there is common need to reprogram it different.
You are using poweshell that is nice like using rpm yum git endevor rational and many others that are used for deployment.

For the middleware sas-system there is big challenge. For the business applications your can set the standard that no adjustments are needed. 

To achieve that you can use OS system-environment variables that are used within metadata definitions.

---->-- ja karman --<-----
Ask a Question
Discussion stats
  • 2 replies
  • 3 in conversation