Integrity
constraints are a set of data validation rules that preserve the consistency
and correctness of the stored data. These rules are defined by the
applications programmer and are enforced by SAS for each request to
modify the data.
PROC UPLOAD and PROC
DOWNLOAD permit a transferred SAS data set to inherit the characteristics
of the input data set. If the OUT= option is omitted when transferring
a specific SAS data set, the transferred data set inherits the characteristics
of the input data set. A transferred data set also inherits the characteristics
of the input data set if it is part of a library transfer. For details
about the INLIB= and OUTLIB= options for PROC UPLOAD, see
PROC UPLOAD Statement ; for details about PROC DOWNLOAD, see
DOWNLOAD Procedure .
PROC UPLOAD and PROC
DOWNLOAD apply integrity constraints to the transfer of data sets.
As with other data set characteristics, integrity constraints are
inherited by a transferred data set under specific conditions. The
only exception is that, if the input file has an index defined and
the user specifies the INDEX=NO option, any integrity constraints
that are defined for the input file are not inherited. Also, referential
integrity constraint types are not transferred when the referential
constraints reside in a different library.