Previous Page  Next Page 
SAS/INSIGHT Statements

OPEN Statement

OPEN SAS-data-set < / NODISPLAY >;

The OPEN statement opens a SAS data set and displays it in a window. An OPEN statement with the NODISPLAY option opens a data set without displaying a window.

You can use the OPEN statement to open multiple data sets at the same time. BY, CLASS, graph, and analysis statements apply only to the most recently opened data set.

You can specify data set options in parentheses after the data set name. For example, to see all businesses that had large profits, you might enter

   open sasuser.business(where=(profits>=2000));

Data set options are described in SAS Language Reference: Dictionary.

Previous Page  Next Page  Top of Page

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