Chapter Contents |
Previous |
Next |
SAS Companion for the CMS Environment |
Assigning a Libref to an OSIRIS File |
LIBNAME libref OSIRIS data-filename DICT='dictionary-filename'; |
This form of the LIBNAME statement takes the following arguments:
If the libref also appears as a fileref, the data-filename can be omitted in the LIBNAME statement. However, you must still use the DICT= option because the engine requires both files.
You do not need to use a LIBNAME statement before running PROC CONVERT on an OSIRIS file.
Referencing OSIRIS Files |
You can also use the same dictionary file with different OSIRIS data files. In this case, specify a separate LIBNAME statement for each data file.
The contents of the dictionary file determine the file layout of the data file under OSIRIS. A data file has no other specific layout.
The layout of an OSIRIS data dictionary is consistent across operating environments. Although OSIRIS software runs only under OS/390 and CMS, the OSIRIS engine in the SAS System accepts a CMS data dictionary in any other operating environment that is running the SAS System. The data dictionary and data files should not be converted from EBCDIC and ASCII, however, because the OSIRIS engine expects EBCDIC data.
Example of Accessing OSIRIS Files |
libname xxx osiris 'temp osirdata' dict='temp osirdict'; proc contents data=xxx._first_; proc print data=xxx._first_;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.