Chapter Contents

Previous

Next
SAS Library: _getAttributes

SAS Library: _getAttributes



Retrieves specified attributes for the SAS library associated with a SAS Library object


Syntax
_getAttributes List Item
Example

Syntax

CALL SEND (library-object-id, '_getAttributes', attributes-list);attributes-list);

Argument Type Description
attributes-list
N returns the identifier of an SCL list containing the item in Table 1.

_getAttributes List Item
List item Type Description
SEQUENTIAL N 1 if the library is a sequential data library 0 otherwise


Example

This example creates and initializes a SAS Library object, LIBOBJ, to the WORK library. _getAttributes returns the attributes for LIBOBJ into ATTRLIST.

libclass=loadclass
         ('sashelp.fsp.library.class')
libobj=instance(libclass);
call send(libobj, '_setup_', 'work');
attrlist=makelist();
call send (libobj, '_get_attributes_',
           attrlist);

If you use PUTLIST to list the contents of ATTRLIST, you will see something similar to this:

( SEQUENTIAL=0
 )[2967]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.