System Options under z/OS |
Enables checking for SAS library truncation.
Default: |
DLTRUNCHK
|
Valid in: |
configuration file, SAS invocation, OPTIONS
statement, OPTIONS window
|
Category: |
File Control: SASFILES
|
PROC OPTIONS GROUP= |
SASFILES
|
z/OS specifics: |
all
|
The first time a SAS library is accessed
after it is assigned, SAS compares the external count of library blocks from
the z/OS data set label with the internal count of library blocks from the
library itself. If the external count is less, the library might be truncated,
or the external count might merely be in error. In either of these cases (apparent
or actual truncation), if the DLTRUNCHK option is in effect, SAS issues an
error message and refuses to process the library in any manner. If NODLTRUNCHK
is in effect, SAS attempts to continue processing. However, write access is
not allowed to the library.
DLTRUNCHK is the default setting, and it is recommended for all production
applications for the following reasons:
-
Attempting to read a library that is truncated might result in
the SAS session terminating with an abend. Therefore, if you are running a
SAS/SHARE server, it is strongly recommended that you specify DLTRUNCHK to
prevent the server from terminating for that reason.
-
If you use NODLTRUNCHK, there is a small risk that SAS will accept
as valid any residual data on a disk that is from a deleted z/OS data set.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.