The OUT= option in the
CONTENTS statement creates an output data set. Each variable in each
DATA= data set has one observation in the OUT= data set. Here are
the variables in the output data set:
the character set used
to sort the data set. The value is ASCII, EBCDIC, or PASCII. A blank
appears if the data set does not have a sort indicator stored with
it.
the collating sequence
used to sort the data set. A blank appears if the sort indicator
for the input data set does not include a collating sequence.
indicates whether the
data set is compressed.
date the data set was
created.
number of observations
marked for deletion in the data set. (Observations can be marked for
deletion but not actually deleted when you use the FSEDIT procedure
of SAS/FSP software.)
indicates whether the
data set is encrypted.
name of the method
used to read from and write to the data set.
indicates whether the
variables in an SQL view are protected (P
)
or contribute (C
) to a derived variable.
indicates the variable
is protected. The value of the variable can be displayed but not updated.
indicates whether the
variable contributes to a derived variable.
The value of FLAG is
blank if
P
or
C
does
not apply to an SQL view or if it is a data set view.
variable format. The
value of FORMAT is a blank if you do not associate a format with the
variable.
number of decimals
that you specify when you associate the format with the variable.
The value of FORMATD is 0 if you do not specify decimals in the format.
format length. If
you specify a length for the format when you associate the format
with a variable, the length that you specify is the value of FORMATL.
If you do not specify a length for the format when you associate
the format with a variable, the value of FORMATL is the default length
of the format if you use the FMTLEN option and 0 if you do not use
the FMTLEN option.
maximum number of versions
for the generation group.
the next generation
number for a generation group.
number of indexes for
the data set.
use of the variable
in indexes. Possible values are
the variable is not
part of an index.
the variable has a
simple index. No other variables are included in the index.
the variable is part
of a composite index.
the variable has a
simple index and is part of a composite index.
variable informat.
The value is a blank if you do not associate an informat with the
variable.
number of decimals
that you specify when you associate the informat with the variable.
The value is 0 if you do not specify decimals when you associate
the informat with the variable.
informat length. If
you specify a length for the informat when you associate the informat
with a variable, the length that you specify is the value of INFORML.
If you do not specify a length for the informat when you associate
the informat with a variable, the value of INFORML is the default
length of the informat if you use the FMTLEN option and 0 if you do
not use the FMTLEN option.
justification (0=left,
1=right).
variable label (blank
if none given).
libref used for the
data library.
label for this SAS
data set (blank if no label).
SAS data set that contains
the variable.
library member type
(DATA or VIEW).
date the data set was
last modified.
number of observations
in the data set.
indicates whether the
NODUPKEY option was used in a PROC SORT statement to sort the input
data set.
indicates whether the
NODUPREC option was used in a PROC SORT statement to sort the input
data set.
physical position of
the first character of the variable in the data set.
indicates whether the
data set can be addressed by observation.
the first letter of
the level of protection. The value for PROTECT is one or more of
the following:
indicates the data
set is alter-protected.
indicates the data
set is read-protected.
indicates the data
set is write-protected.
indicates whether the
space made available when observations are deleted from a compressed
data set should be reused. If the data set is not compressed, the
REUSE variable has a value of NO.
the value depends on
the sorting characteristics of the input data set. The following
are possible values:
for sorted but not
validated.
for sorted and validated.
the value depends on
that variable's role in the sort. The following are possible values:
if the variable was
not used to sort the input data set.
where n is
an integer that denotes the position of that variable in the sort.
A negative value of n indicates
that the data set is sorted by the descending order of that variable.
type of the variable
(1=numeric, 2=character).
special data set type
(blank if no TYPE= value is specified).
variable number in
the data set. Variables are numbered in the order in which they appear.
The output data set
is sorted by the variables LIBNAME and MEMNAME.
Note: The variable names are sorted
so that the values X1, X2, and X10 are listed in that order, not in
the true collating sequence of X1, X10, X2. Therefore, if you want
to use a BY statement on MEMNAME in subsequent steps, run a PROC SORT
step on the output data set first or use the NOTSORTED option in the
BY statement.
Due to the size of the
HEALTH.GRPOUT, the following output is in five sections.
An Example of an Output Data Set — Section 1
An Example of an Output Data Set — Section 2
An Example of an Output Data Set — Section 3
An Example of an Output Data Set — Section 4
An Example of an Output Data Set — Section 5
Note: For information about how
to get the CONTENTS output into an ODS data set for processing, see
ODS Output .