SAS Table Explorer is a lightweight viewer for files in SAS7BDAT and CSV formats.
This desktop application is just a reader, but not an editor of the SAS files.
It provides ability to read SAS7BDAT files or export data to CSV without any additional SAS software installed.
Wildcard characters can be anywhere in the search string, e.g:
Flag characters should be at the leading positions in the string, e.g:
SAS Table Explorer is written in Java. It can run on either Windows, Linux, or Mac OS X.
On Windows it is possible to register SAS Table Explorer as a default program to open SAS7BDAT and CSV files via shell script sas-table-explorer-setup.cmd.
java -jar sas-table-explorer.jar
java -jar sas-table-explorer.jar fileToOpen.sas7bdat
|Search string||Match result|
|For "simple search" use a string or pattern to search|
|*berry||Match all rows with berries (e.g.: Blueberry, Strawberry, etc.)|
|For "columns search" use comma-separated pairs of columns and patterns|
|CMSCAT=*THERAPY||Match all medications with category name ending with "THERAPY" (e.g.:CHEMOTHERAPY, RADIOTHERAPY and HORMONAL THERAPY)|
|Pairs with different columns are joined with a logical AND|
|COLUMN1=VALUE1, COLUMN2=VALUE2, COLUMN3=VALUE3||Match all rows where (COLUMN1=VALUE1 AND COLUMN2=VALUE2 AND COLUMN3=VALUE3)|
|SEX=Male, COUNTRY=USA, DEGREE=Academic||Match all men from USA who have an Academic degree|
|AGE=6?, AGE=7?||Match all patients aged 60-70 years old (from 60 to 79)|
|Pairs with same columns are joined with a logical OR|
|COLUMN1=VALUE1, COLUMN1=VALUE2, COLUMN2=VALUE3||Match all rows where ((COLUMN1=VALUE1 OR COLUMN1=VALUE2) AND COLUMN2=VALUE3)|
|SEX=Male, COUNTRY=USA, COUNTRY=Canada, DEGREE=Bachelor, DEGREE=Master||Match all men from USA or Canada who have a Bachelor or Master degree|
|Use ! to inverse match, and ~ to enable case-insensitive search|
|COUNTRY=!USA||Match all patients not from USA|
|COUNTRY=!USA, GENDER=~MaLe||Match all men not from USA|
SAS7BDAT is a SAS proprietary binary format for storing tabular data. SAS Institute has not published the internal format of .sas7bdat files. However some smart people made research of this format. For example, Matt Shotwell who has reverse-engineered and described "SAS7BDAT Database Binary Format" or guys from EPAM who have implemented "Parso Java library".
For questions, feature requests or technical support related to this application you can contact me: email@example.com
SAS Table Explorer binary by Xantorohara is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Version 1.0.6. Published 2015-01-10. Updated 2016-04-10.