![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/AF Software: Class Dictionary |
You can create a SAS Library object. When you instantiate a SAS Library object, only the object identifier is created. You then add information about a SAS library to the object. This step is referred to as initializing the object. To initialize a SAS Library object, use either the _assign or the _setup method. This example creates a SAS Library object, LIBOBJ, and initializes it with information about SASUSER:
libclass=loadclass
('sashelp.fsp.library.class');
libobj=instance(libclass);
call send(libobj, '_setup_', 'sasuser');
If you use PUTLIST to list the contents of LIBOBJ, you see
( _class=2621
DESC='SAS Library Class'
ATTRIBUTES=( SEQUENTIAL=0
)[2641]
ENGINE='V611'
NAME='SASUSER'
PATHS=_blank
/* */
SERVER=''
PATH=( 'pathname/sasuser'
)[2639]
DATA_REP=''
)[2635]
The values that you see may be different from these.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.