When you install SAS in the Windows environment, it will usually be set as the default for opening files ending in ".sas7bdat" (SAS data sets). Even if your computer doesn't know that SAS should be used to open files of this type, you can still force it to do so by right-clicking the file and using the "Open with..." option. When you open a SAS dataset in either of these two ways, the file will automatically be displayed in SAS ViewTable mode and a new temporary library, Tmp1, will be created (pointing to the file's current location). You can now refer to the data in your code using the usual two part naming scheme (i.e., Tmp1.ExampleDB) or copy the data to a permanent library for future use. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Note this assumes that there are no formatted values associated with an external format library. Otherwise, you'll need to reference the format library.
statistician13 2 years ago