The first time a SAS
direct access bound library is accessed after it is assigned, SAS
compares the external count of library blocks from the
z/OS data set
label with the count of library blocks maintained by SAS within the
library itself. If the external count is less, SAS considers the library
to be truncated. How SAS processes a truncated library depends on
the setting of the DLTRUNCHK option:
-
If the DLTRUNCHK option is in effect,
then SAS issues an error message and does not process the library
in any manner. The SAS session return code is 8 or higher.
-
If NODLTRUNCHK is in effect, then
SAS issues a warning message. It also allows read access to the library
so that its contents can be copied, to the extent possible, to a new
library data set. The SAS session return code is 4 or higher.
SAS does not allow write
access to a truncated library regardless of the DLTRUNCHK setting.