Chapter Contents

Previous

Next
LIBNAME

LIBNAME



Assigns or deassigns a libref for a SAS data library and returns a value

OS/390 specifics: libref, SAS-data-library


Syntax
Details
Example
See Also

Syntax

LIBNAME (libref, <,SAS-data-library <,engine <,options>>>)

libref
specifies the libref to assign to a SAS data library.

SAS-data-library
specifies the SAS data library.


Details

If no value is provided for SAS-data-library or if SAS-data-library has a value of '' (with no blank space), LIBNAME dissociates the libref from the data library. If the operation is successful, the return value is zero.

Under TSO, DDnames (assigned by the TSO ALLOCATE command) can also be used to refer to SAS data libraries.


Example

rc=libname('v7dat','myapp.demo.v7dat', 'v7');

See Also


Chapter Contents

Previous

Next

Top of Page

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