Use a libname statement to establish the library perm and to link it to the F drive. Note: The 'dixonmassey' data set is from Dixon WJ and Massey FJ Jr: Introduction to Statistical Analysis, Fourth Edition, McGraw Hill Book Company, 1983. In the directory linked to the library lib, there will be a (permanent) data set called ds.sas7bdat. imported from the computer directory for use in SAS.Ī SAS data set name has the library name before the period and the data set name after the period.įor example, lib.ds indicates that data set ds is in library lib.Once a SAS library and computer directory link have been created using the libname statement, a permanent SAS data set can be: It links the new SAS library to a directory on the computer.It creates and names the new SAS library.A libname statement performs 2 important tasks: To create a library, use a libname statement. SAS calls the directories that contain datasets libraries. Unless otherwise specified to be permanent, SAS considers all datasets to be temporary. Permanent SAS datasets are saved to a location on the computer and exist after exiting SAS.Temporary SAS datasets only exist during the current SAS session.SAS datasets can be temporary or permanent. Temporary & Permanent SAS Datasets & the Libname Statement
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |