User Guide
Ampex 1308911-02 5-33
libdd2 API Functions dst_getlog
wrerrc Write Errors Corrected - The number of successful applications of the 
write retry algorithm that occurred within the allowed number of retries.
wrretry Write Retries - The total number of times the drive attempted a write 
retry, regardless of whether the write attempt succeeded.
wrerru Write Errors Uncorrected - The number of unsuccessful applications of 
the write retry algorithm that occurred within the allowed number of 
retries.
rderr Read Errors - The total number of read errors encountered, including 
those detected during retries.
rderrc Read Errors Corrected - The number of successful applications of the 
read retry algorithm that occurred within the allowed number of retries.
rdretry Read Retries - The total number of times the drive attempted a read 
retry, regardless of whether the read attempt succeeded.
rderru Read Errors Uncorrected - The number of unsuccessful applications of 
the read retry algorithm that occurred within the allowed number of 
retries.
nmerr Non-Medium Errors - The number or recoverable error events other 
than write, read, or verify failures.
servstats Service Statistics - Structure for storing the 31 service statistics 
parameters (see the
 dst_log_serv_st structure in the dstio.h 
file and Table E-1.). This information is intended to aid service 
personnel in diagnosing and correcting problems.
optmstats Transport Module Operational Statistics - Structure for storing the 24 
transport statistics parameters (see the
 dst_log_optm_st structure 
in the
 dstio.h file and Table E-2.).
opemstats Electronics Module Operational Statistics - Structure for storing the 99 
electronics statistics parameters (see the
 dst_log_opem_st structure 
in the
 dstio.h file and Table E-3.).
msrstats MSR Diagnostic Statistics - Character array for storing up to 620 bytes 
of diagnostic statistics (see the
 dst_log_opem_st structure in the 
dstio.h file and Appendix D). This information is intended to aid 
service personnel in diagnosing and correcting problems.
RETURN VALUES
The return value is DST_SUCCESS (0) or DST_FAILURE (-1). See “DST API Overview” on 
page 5-1 for information on
 errno failure messages and associated DST result codes.










