-- -- CSCAR  
-- --   center for statistical consultation and research  
Hill Auditorium
--
about us
about us
location
workshops
software help
external resources
spatial
jobs
contact
search
--
The Center For Statistical Consultation and Research
3550 Rackham Building
University of Michigan
Ann Arbor, MI 48109-1070
cscar@umich.edu
.
Software Help  

 


SAS Topics
: Installing and/or Renewing SAS V8.x
 

The CSCAR Guide to Installing and/or Renewing

SAS Software V8.x for Windows

 

Before you proceed, answer these questions: 

1.   What release of SAS am I attempting to install or renew?

      These instructions are appropriate for SAS release 8.0 and 8.2. If you have
a different release of SAS (e.g. SAS 9.X or SAS 6.12), please return to the CSCAR main menu and see the appropriate instructions for that release.

  1. Is this a renewal of a release of SAS that is already installed on my machine, or a new installation of SAS? 

You will receive either an electronic copy of the setinit code, or a paper copy of the code. The top line of the code will identify the appropriate release of SAS to which the setinit information applies (either 8.2 or 8.0). You will see either:

PROC SETINIT RELEASE='8.2';

or

PROC SETINIT RELEASE='8.00';

The last line of code will look like:

*09403001 8.2;

or

*09403001 8.00; 

If you have the setinit information for a different release of SAS, do not proceed until you obtain the correct setinit file.

 

*If you want to renew your current license and your SAS has not yet expired, follow the steps below:

  1. If you have an electronic version of the setinit code, paste the setinit information (starting with PROC SETINIT and ending with the appropriate last line of code) into your SAS Program Editor Window, and submit it. You should see the following message in the SAS log:

NOTE: Siteinfo data have been updated.

You should now be able to use SAS for the next year.

  1. If you have a paper copy of the code, type the code pertaining to your release of SAS exactly as it appears into the SAS Program Editor Window and submit it. This includes inserting spaces between terms designated by single quotes:

CORRECT: 'BASE' 'STAT'

INCORRECT: 'BASE''STAT'

This also includes inserting carriage returns (press the enter key) exactly where lines end in the paper copy of the code.

Submit your setinit code to SAS. You should now see the following message in the SAS log:

NOTE: Siteinfo data have been updated.

You should now be able to use SAS for the next year.

 

*If you want to renew your current license for SAS 8.2 or 8.0 and your SAS has already expired (i.e., you cannot open SAS), follow the steps below:

  1. If you have an electronic copy of the code for SAS 8.2 or 8.0, copy and paste the setinit code for your release of SAS into a brand new NOTEPAD file. You should start copying with the line that looks like:

PROC SETINIT RELEASE='8.2';

or

PROC SETINIT RELEASE='8.00';

and you should stop copying with the last line that starts with an asterisk, which will look like:

*09403001 8.2;

or

*09403001 8.00; 

The resulting NOTEPAD file should look EXACTLY like the information that you see in the electronic copy of the code.  This includes not having excessively long lines of code. 

If you have a paper copy of the SETINIT file, type the code into a new NOTEPAD file EXACTLY as you see it in the paper copy for your release of SAS. Be careful to include spaces and carriage returns where appropriate.

2.   Save the notepad file. In the File menu, select Save As…, and for the file name, type “setinit.sss” INCLUDING THE DOUBLE QUOTES. Then, where you have a choice to “Save as type:”, select “All Files”. ANSI encoding is fine.

3.   Choose to save the setinit.sss file on your C:\ drive on your machine.  If possible, DO NOT save the file in a particular folder. Simply save the file on your C:\ drive.

4.   Identify the location of your sas.exe program (the SAS executable file).  By default, this program is located in the Windows directory

C:\Program Files\SAS Institute\SAS\V8

5.   From the Windows Start Menu, select Run…

6.   In the Run… box that appears, type the following line exactly as it appears:

"C:\Program Files\SAS Institute\SAS\V8\sas.exe" -sysin C:\setinit.sss –setinit

Do not forget to include -sysin after you type the location of your sas.exe file, and –setinit after you type the location of your saved setinit.sss file. Note that you may need to change these directories, depending on where your sas.exe file is located and where you saved your setinit.sss file. Be sure to include the quotes around the path to sas.exe.

7.   Click on OK. It will look like SAS is starting up, and you may see a window pop up telling you that SAS is running the setinit program. Nothing further will happen. If everything went properly, your license should have been renewed in the background, and you should now be able to start SAS without getting a warning about the license being expired.

If SAS still gives you an expired license error message when you attempt to start it, and you’re sure you haven’t omitted something from the steps above, contact CSCAR at sas.help@umich.edu.

 

*If you wish to install SAS 8.2 from scratch, follow the steps below:

  1. If you have an electronic copy of the setinit code, copy and paste the setinit code for your release of SAS into a brand new NOTEPAD file. You should start copying with the line that looks like:

PROC SETINIT RELEASE='8.2';

or

PROC SETINIT RELEASE='8.00';

and you should stop copying with the last line that starts with an asterisk, which will look like:

*09403001 8.2;

or

*09403001 8.00; 

The resulting NOTEPAD file should look EXACTLY like the information that you see in the electronic copy of the code. This includes not having excessively long lines of code. 

If you have a paper copy of the setinit code, type the setinit information into a new NOTEPAD file EXACTLY as it appears on the paper setinit sheet for your release of SAS. Be careful to include all appropriate spaces and carriage returns.

  1. Save the notepad file. In the File menu, select Save As…, and for the file name, type “setinit.sss” INCLUDING THE DOUBLE QUOTES. Then, where you have a choice to “Save as type:”, select “All Files”. ANSI encoding is fine.
  2. Choose to save the setinit.sss file on your C:\ drive on your machine. If possible, DO NOT save the file in a particular folder. Simply save the file on your C:\ drive.
  3. Insert the SAS Setup Disk, and choose to run the SAS System Setup. If SAS requires you to update/install some system requirements, go ahead and do so. Click on Next when the window pops up welcoming you to the SAS System Setup program.
  4. When you get to the screen that says “Setup has detected that the license on your installation media is expired.  Please specify a folder location for a correct license.  Setup will apply this license following the file copy process.”, type C:\ in the blank line asking your for a file location.  If you saved your setinit.sss file somewhere other than the C:\ drive, enter the location where you saved the file (such as C:\temp or A:\).  Then click on Next.
  5. SAS will proceed with the remainder of the installation, and you can follow the instructions in the setup wizard.  If SAS does not proceed, it can’t find the setinit.sss file that you created earlier.  Check steps 1-5 above, and make sure that you didn’t forget anything. 

If you are having problems, contact CSCAR at sas.help@umich.edu.

 

CSCAR Home | About Us | Location | Workshops & Seminars | Software Help | External Resources | Spatial Analysis GIS | Contact Us | Search