Upload
george-morris
View
215
Download
0
Embed Size (px)
Citation preview
Installing SAS 9.3 TS1M1
Raymond R. BaliseHealth Research and Policy
If you are upgrading from an early SAS
• As with any install on Windows, be sure to back-up your machine before you install software.
• I use the Windows control panel to remove all SAS programs before I upgrade. This gets rid of all the old programs that SAS provided but keeps my work intact. Rerun the uninstaller repeatedly until there are no components of SAS left. After uninstalling everything I reboot. After rebooting I find the SAS and also SASHome folders in the Programs Folder and delete them and then reboot again. You should not have saved into that folder but if you saved your work there obviously you want to move it before deleting the folder.
• This process takes a while and in theory is not necessary but it helps to assure that you have a completely clean install of SAS.
JAVA
• SAS will want to use JAVA. Get it here: java.com/en/. If you think that you have the latest version (7 Update 5), you can use the Do I have Java? hyperlink on the page to double-check.
Installing SAS
• The next slides show you how to check what version of Windows you are running. Keep in mind that SAS only works correctly on Windows Professional or better versions of XP, Vista or 7. All Home editions of Windows will have problems running SAS.
• Use the following notes to check to see if you are running 32 bit or 64 bit Windows and then download the correct version of SAS 9.3.
Which Windows in Windows 7 OS?
Go to Start Button > Control Panels look at System:
Look here to see 32 bit vs.
64 bit
This is the Professional not Home edition of
Windows 7
Which Windows for VistaGo to Start Button > Control Panels look at System:
Which Windows in Windows XP
64 bit32 bit
Go to Start Button > Control Panels look at System:
Order SAS• You can order 32 or 64 bit SAS here: itservices.stanford.edu/service/softwarelic/sas
After paying
• You will get two emails. The second will have the link to download:
https://someplace.real.not.here.com/ Click the real address
The download can take HOURS off campus. Use a wired connection on campus if you can.
After step 2… you will hopefully
have an icon on your desktop
I downloaded the file from step 3 to my desktop. Step 4 is to double click
it.
It will save the download
somewhere…
You can double click my computer and browse to the folder.
This is quick….
A little file in here.
This will run all night.
This has SAS.
This has the license file.
The following slides show you how to install. If you
forget to install part of SAS double-click the setup
program to add parts later.
With Vista or Windows 7 right click setup.exe and Run as administrator….
Double click in XP.
2
1
Check “on” the boxes shown in
this and the following 2 slides before pushing next. Some will not be checked
by default so check carefully.
If you have Office 2007 or
2010.
If you must run 32 bit Office on a 64 bit machine add this also. See slide 50.
Use 64 bit if and only if you are sure you are using 64 bit windows.
Use 64 bit if and only if you are sure you are using 64 bit windows.
2
1
Quit PowerPoint before you push Start.
(Now… go to for a swim or out to lunch.)
It is your choice on if to send them your
hardware info.
The archive folder will have more than 8 Gig of data. Keep if until you are certain that you have everything you need. Then
delete if you need room.
After Installing
• The next slides give advice on what to do after installing SAS. – Patch your software– Set your windows so it will show file suffixes.– If you use Microsoft Office set it to show you file
paths.
Getting Patches
• Remember where you save the patch files.• All SAS patches for 9.3 are here:
http://ftp.sas.com/techsup/download/hotfix/HF2/93_whats_new.html
• If you are running 64 bit SAS get the Windows for x64 versions, otherwise just get the Windows files.
• You want to download ___.zip files which contain these patches G35004, F98002, F67001, F98009, F98030, F98037, F98041, H03002, H03003, G36004, H28001, F98034. Save the _blah_.zip files into a directory.
Installing patches
• After downloading patches. Start the SAS deployment Wizard:
Click this.
Browse to the folder where you saved the
downloads.
Stay up to Date
• Ask SAS to email you when they have patched stuff:support.sas.com/techsup/news/tsnews.html
Can You Recognize File Types?
• Windows adds a period and a suffix to the names of files to indicate what program uses the file. By default, the suffix is hidden. Fix that and you will be sure to import the right file.
No suffix shown.
Viewing File Types in Windows
• Tell Windows 7 to show you the file suffixes:– From the Start button click on the Control Panel
3. Uncheck
1. Type: file type
2. Click
2
3. Uncheck
4
1
5
Follow these steps to show file extensions (suffixes) in Vista.
Show File Extensions (Suffixes) in XP
2
3. Uncheck
41
5
The Path Says Where Files are FoundWhen you want to find a file to analyze on your PC, you need to know the path.
… and the path is shown as: C:\Projects\Talks\R4Clinicians
Click here…
32 bit vs 64 bit Excel
• Office 2010 can run in 32 bit and native 64 bit mode on a machine running 64 bit Windows 7.
• 64 bit SAS and 32 bit Office do not integrate. • By default Office
will install the 32 bit version.
• With 32 bit office you need to tweak SAS to get it to load Excel files or run 64 bit Office instead.
Click to return to installer slide.
Installing 64 bit Office
• If you do not use Add-ons to office (like the SAM and PAM for microarray analysis plug ins) then you can install and run the 64 bit version of Excel. – If needed uninstall the 32 bit version of Office
2010. – Find the x64 folder on the Office DVD and run the
setup program.
If you must use 32 bit Office
• If you must use 32 bit office on a 64 bit machine send a help request to SAS and they will send you advice on how to use the PC Files Server to access Excel files:
support.sas.com/ctx/supportform/createForm
Click to return to installer slide.
If you plan to use ExcelWith XP, click the Windows Start menu and choose Run
In the dialog type regedit and click ok.With Vista or Windows 7 search for and open regedit.1. Open up the tree to this pathHKEY_LOCAL_MACHINE SOFTWARE Microsoft Jet 4.0 Engines Excel► ► ► ► ► ►
2. Double click TypeGuessRows.3. Type 0, that is zero not the letter o, in the DWORD editor and click ok.4. If you can find them, repeat for these pathsHKEY_LOCAL_MACHINE Software Microsoft Office 12.0 Access Connectivity Engine ► ► ► ► ► ►
Engines Excel►
HKEY_LOCAL_MACHINE Software Microsoft Office 14.0 Access Connectivity Engine ► ► ► ► ► ►Engines Excel►
HKEY_LOCAL_MACHINE Software ► ► Wow6432Node Microsoft Office 12.0 Access ► ► ► ►Connectivity Engine Engines Excel► ►
• Microsoft ACCESS will silently change this setting!– So watch this setting if you use ACCESS.
Using File Paths
You can use Windows Explorer to find your files or you can add a button to MS Office products to show the path with a single click.
With Office 2007 or 2010 it is easy to add a button, which will show up here, to show you the path when it is pushed.
1
2
3
45
6
Here’s how to add that button:
Once you have the button, push it to get the path to show here.
The full path includes the path to the folder and the file name with the suffix using backslashes: C:\Projects\Talks\R4Clinicians\MarriageDev20072009.xls