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.
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.
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.
Hi
What is the meaning of the number give in the line:
"Current version: 9.04.01M7P080520"
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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.