Taking Flight! Migrating to SAS 9.2! Joel Orr, System Engineering Division June 1, 2011
Agenda Introduction Benefits of Migration Possible Migration Scenarios To Do List Potential Problems Resources
Introduction
Introduction Why do I need to migrate? What is in it for me? How can I, or my organization, benefit?
Introduction
Benefits of Migration Improved capabilities New features Continued support
Potential Migration Scenarios SAS v9.1.3 to SAS v9.2 Windows 32-bit to Windows 32-bit Windows 32-bit to Windows 64-bit Unix to Windows Windows to Unix SAS Platform to SAS Platform
To Do List Review the Migration Guide Create a Migration Plan Inventory the Source environment Determine the Migration Approach Create a backup!!!! Prepare Source system
To Do List (continued) Prepare Target system Complete Pre-install and Pre-migration checklists Create a Validation Plan Migrate Create another Backup!!!! Test! Test!! Test!!!
Potential Problems Macro Catalogs: Catalogs created in one environment cannot be accessed by SAS running in a different environment Cross-Environment Data Access (CEDA) does not support catalogs Proc CPORT/CIMPORT does not support Macro entries Proc UPLOAD/DOWNLOAD does not support Macro entries SAS/Connect Remote Library Services does not work Solution: Macros must be compiled in the new environment
Potential Problems Format Catalogs Catalogs created in one environment cannot be accessed by SAS running in a different environment Solution: Formats must be created in the new environment Proc UPLOAD can be used to convert the format catalog
Potential Problems Catalogs with AF/SCL entries Catalogs created in one environment cannot be accessed by SAS running in a different environment Solution: Use Proc BUILD to compile the SCL entries in the new environment
Potential Problems SAS Data sets CEDA allows cross environment access, but only in Read mode CEDA does not support update processing CEDA does not support indexes nor integrity constraints Solution: Remote Library Services can be used
Potential Problems Proc Import/Export issues in 64-bit Windows MS Excel & MS Access PROC IMPORT DATAFILE= c:\test.xls" OUT=XLSMetadata DBMS=EXCEL REPLACE; SHEET="Definition$"; GETNAMES=YES; MIXED=YES; SCANTEXT=YES; USEDATE=YES; SCANTIME=YES;
Potential Problems Proc Import/Export issues in 64-bit Windows Microsoft Jet Access engine is 32-bit only DBMS=EXCEL, DBMS=ACCESS not supported DBMS=XLS (Doesn t support.xlsx,.xlsm,.xlsb files) DBMS=EXCELCS (requires SAS PC Files Server) DBMS=ACCESSCS (requires SAS PC Files Server)
Potential Problems Proc Import/Export issues in 64-bit Windows MS Excel & MS Access PROC IMPORT DATAFILE= c:\test.xls" OUT=XLSMetadata DBMS=EXCELCS REPLACE; SHEET="Definition$"; SERVER= SDDSAS.STATCAN.CA ; PORT=8621; SCANTEXT=YES; USEDATE=YES; SCANTIME=YES;
Potential Problems SAS PC Files Server port conflict Default port #8621 SAS Stored Process Server uses that port also Solution: Change the port using procedure in SAS Usage Note #36974 Change to a value <10000, i.e. 9999 (SAS Usage Note #36967)
Resources SAS Support website (www.support.sas.com) SAS Migration Utility (SMU) available in your new SAS v9.2 Software Depot SAS Global Forum papers SAS Tech Support representatives
Questions/Comments Statistics Canada Statistique Canada Joel Orr Project Leader System Engineering Division Statistics Canada R.-H.-Coats Building 14 O 100 Tunney s Pasture Driveway Ottawa, Ont., K1A 0T6 (613) 951-5229 Joel.Orr@statcan.gc.ca Canada