Hi guys,
It seems the instructions in bellow link for proc export/import don't contain all statements/options.
For example, the DBMS option only has 4 valid values (i.e. csv, dlm, jmp, tab), but I know other values such as exce, xls, xlsx are also valid actually. Another example is that we usually use statements such as GETNAME, DATAROW, SHEET when importing data from an excle file, however, I couldn't find official instuctions to these stataments from SAS support website. So where can I find a full set of statements and options for proc import/export? Thanks.
This guide has a more complete list: https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=acpcref&docsetTarget=p0jf...
This is because many of the options / statements are only applicable if you have SAS/ACCESS for PC Files. Your original link only included the Base SAS options.
This guide has a more complete list: https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=acpcref&docsetTarget=p0jf...
This is because many of the options / statements are only applicable if you have SAS/ACCESS for PC Files. Your original link only included the Base SAS options.
Thanks. Do you know where to find some other statements such as SHEET, MIXED for proc import (I even remember there is statement to filter specified data area from a sheet but can't recall the statement name)? These statements we usually use, but I have never found the instruction.
Same guide, just a few sections down: https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=acpcref&docsetTarget=n0ms...
I believe the challenge here is that the available syntax for Proc Export/Import depends on the SAS modules licensed.
If you've got Base SAS only then what you have available is what's documented under the link you've posted.
If you have also SAS/Access Interface to PC File Server licensed then you get additional functionality for these procedures as documented here.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.