09-27-2016 03:25 PM - edited 09-27-2016 03:28 PM
The SAS Viewer can only read SAS transport files created with the XPORT engine. If the CPORT procedure was used then it isn't going to work. Either re-export the dataset using the XPORT engine, or use CIMPORT to import the dataset into a form that works with the viewer:
I don't think you can convert a CPORTed SAS file to an XPT one.
09-27-2016 04:55 PM
SAS System Viewer 9.1 can read SAS datasets,but it is really old and might not be able to read SAS datasets made by current versions of SAS. I know we had trouble with it not reading datasets made using 64-bit Unix version of SAS.
Here is how to convert a file made with PROC CPORT back into SAS datasets (or catalogs).
libname out 'my directory name'; proc cimport file='myfilename' lib=out; run;
or you can use it to view V5 transport files that have only one member. Note that V5 Transport files are limited to 8 character member and variable names and 200 character character variables. But if your data fits into those limitations then you could try having PROC CIMPORT write directly to the V5 transport file.
libname out xport 'my new file name'; proc cimport file='my old file name' lib=out; run;