Chapter Contents

Previous

Next
SAS Logical: _getLibrary

SAS Logical: _getLibrary



Creates and initializes a SAS Library object for a logical name


Syntax
Details
Example

Syntax

CALL SEND (object-id, '_getLibrary', libref, library-object-id);

Argument Type Description
libref
C specifies a currently defined SAS libref
library-object-id
N returns the object identifier of the SAS Library object that is associated with libref


Details

The SAS Library object that is created can be accessed and manipulated by all of the methods defined in the SAS Library class.


Example

In this example, the Logical class creates a SAS Library object for the SASHELP library:

logclass=loadclass
         ('sashelp.fsp.logical.class');
logobj2=instance(logclass);
call send(logobj2, '_get_library_', 'sashelp',
          libraryobject);


Chapter Contents

Previous

Next

Top of Page

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