Chapter Contents |
Previous |
Next |
The DATASETS Procedure |
PROC DATASETS <option(s)>; |
To do this | Use this option | |
---|---|---|
Specify the procedure input library | LIBRARY= | |
Provide alter access to any alter-protected SAS file in the SAS data library | ALTER= | |
Include information in the output about the number of observations, number of variables, and data set labels | DETAILS|NODETAILS | |
Force a RUN group to execute even when there are errors | FORCE | |
Force an append operation | FORCE | |
Delete SAS files | KILL | |
Restrict processing to a certain type of SAS file | MEMTYPE= | |
Suppress the printing of the directory | NOLIST | |
Suppress error processing | NOWARN | |
Provide read, write, or alter access | PW= | |
Provide read access | READ= |
Options |
See also: | Using Passwords with the DATASETS Procedure |
Obs or Entries
Vars
Label
The DETAILS option requires read access to all read-protected SAS files in the SAS data library. If you do not supply the read password, the directory listing contains missing values for the columns produced by the DETAILS option.
Default: | DETAILS system option setting |
Tip: | If you are using the SAS windowing environment and specify the DETAILS option for a library that contains read-protected SAS files, a requestor window prompts you for each read password that you do not specify in the PROC DATASETS statement. Therefore, you may want to assign the same read password to all SAS files in the same SAS data library. |
Featured in: | Manipulating SAS Files |
Aliases: | DDNAME=, DD=, LIB= |
Default: | WORK or USER. See Temporary and Permanent SAS Data Sets for more information on the WORK and USER libraries. |
Restriction: | A SAS library that is accessed via a sequential engine (such as a tape format engine) cannot be specified as the value of the LIBRARY= option. |
Featured in: | Manipulating SAS Files |
proc datasets memtype=data;
Aliases: | MTYPE=, MT= |
Default: | ALL |
See also: | Restricting Member Types Available for Processing |
Featured in: | Modifying SAS Data Sets |
See also: | Using Passwords with the DATASETS Procedure |
See also: | Using Passwords with the DATASETS Procedure |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.