BookmarkSubscribeRSS Feed

SETINIT procedure

Started ‎07-03-2018 by
Modified ‎07-06-2018 by
Views 38,527

The SETINIT Procedure is an undocumented procedure that identifies which SAS components or products are installed and what the license expiration date is for the system and each component. It also gives the site name and number as well as the system birthday, operating system and any grace or warning period for license expiration.

 

Syntax

PROC SETINIT <options> ;

RUN ;

The available <options>, which can be omitted, include:

NOALIAS

Which removes the alias names for a product bundle that is licensed as a package, for example an ACADEMIC bundle, and lists each licensed product individually.

RELEASE =

The RELEASE = option, is an option expected by the parser, which recognizes RELEASE = " string " as being valid syntax. The contents of the quoted string is not documented, although an empty string as well as a blank space are accepted as being valid.

 

Usage

This procedure can be run before or after the SAS system license expires or is renewed to obtain basic information about the SAS installation and components. This information may be needed by SAS Support.

If you want to identify which version of each SAS component is installed, then use the  PRODUCT_STATUS procedure.

 

This article was originally published by Cameron on sasCommunity.org.

Comments

Hi 

What is the meaning of the number give in the line:

"Current version: 9.04.01M7P080520"

SAS proc setinit.PNG

You can read that as 9.4M7 which is your version of SAS. The P##### part tells you which software version installation specifically which can be useful for debugging but usually the 9.4M7 part is the important part you need it. 

It's easier to get via product_status though or using the automatic macro variables.

proc product_status;
run;

Hi Reeza

Thank you very much for your explanation, I had assume that 9.04.01, was refringe to version 9.4 of SAS, but I couldn't find a direct reference. The main use I give to the SETINIT procedure is to know how many days the license will remain active. The procedure that do you suggest is best suited to do that?

 

PROC SETINIT does that. In your screenshot, the expiration date is given as 29th April 2024, and then the warning period gives you a further day. I'm quite surprised by that because all the setinits that I've ever seen give you a 30 day grace period and a further 30 day warning period.

@Nigel_Pain - 15 day grace and warning periods are pretty common too in my experience.

Version history
Last update:
‎07-06-2018 04:08 PM
Updated by:
Contributors

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Labels
Article Tags