Bridging the “bitness gap” in Sas 9.4

advertisement
Bridging (Closing) the
“bitness gap”
in Sas 9.4
Ron Dewar
Dalhousie U. and Cancer Care NS
Problem
9.4 is 64-bit (requires 64-bit Windows 7)
MS-Office tools are installed as 32-bit aps
A simple proc import that ‘used to work’ now returns an error message:
1101 PROC IMPORT OUT= WORK.topo_2_3
1102
DATAFILE= "&loc.\CCR System Reference Tables 2012.xls"
1103
DBMS=excel replace;
1104
SHEET="ICD-O-2 & 3 Topography codes";
1105
1106 RUN;
ERROR: Connect: Class not registered
ERROR: Error in the LIBNAME statement.
(Similarly for the ‘File/Import Data’ wizard)
Resolution
Google error message, first hit is
http://support.sas.com/kb/43/933.html
Which refers to ‘PC Files Server’
Google ‘sas PC Files Server’
http://support.sas.com/kb/43/802.html
Install and make the following changes to your program
resolution
1107 PROC IMPORT OUT= WORK.topo_2_3
1108
DATAFILE= "&loc\CCR System Reference Tables 2012.xls"
1109
DBMS=excelCS REPLACE;
1110
SHEET="ICD-O-2 & 3 Topography codes";
1111
1112 RUN;
NOTE: WORK.TOPO_2_3 data set was successfully created.
…
ALSO: ‘PC Files Server’ appears as a ‘Standard Data Source’ to the
‘File/Import Data’ wizard (which will now work)
Similarly:
Incompatible Format libraries
ERROR: File CANC.FORMATS.CATALOG was created for a different
operating system.
Recreate the format library with a different name
proc format lib = library.formats64;
Format search option now looks like
proc format ;
options fmtsearch = (library.formats64 );
…
then you can co-exist with your 32-bit colleagues until they all
see the light
Download