FILESTAT System Option: z/OS

Specifies whether ISPF statistics are written.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: File Control: EXTFILES
PROC OPTIONS GROUP= EXTFILES
Default: NOFILESTAT
z/OS specifics: All

Syntax

FILESTAT | NOFILESTAT

Details

The FILESTAT option causes ISPF statistics to be written in the directory entry for a new member of a partitioned data set, or updated for an existing member that already contains ISPF statistics. The NOFILESTAT option suppresses ISPF statistics.
The FILESTAT option saves ISPF statistics for PDS or PDSE members that are allocated with a FILENAME statement or the FILENAME function, and for those members that are specified with aggregate syntax. ISPF statistics are not updated for PDS or PDSE members that are allocated externally with a JCL DD statement or a TSO ALLOC command.
To get statistics on the log file, specify the log in the SAS invocation options as follows:
LOG="data.set.name(member)"
This statement causes SAS to dynamically allocate the log file, which causes statistics to be generated. Note that in the preceding example, the SASLOG DD statement generated by the cataloged procedure is ignored.