User Guide
5-52  Ampex 1308911-02
Model No.
Running Head
dst_setparam libdd2 API Functions
STRUCTURE MEMBERS
The members of the dst_param_st structure are defined below.
This structure type is used by both dst_getparam() and dst_setparam(). The
 attributes 
member is valid only for dst_getparam().
valid Bit mask that indicates which members contain valid data on input and 
return. The following definitions apply:
DST_BLK_VALID (blksize member valid)
DST_DBG_VALID (dgblevel member valid)
blksize Data block size in bytes. Valid for write operations only (read operations 
adjust to the existing block size). This value must be the same for all 
data blocks within a file section and can be 1 or any even number from 
80 through 1199838. The block size does not include the two-byte 
checksum, if any. If checksums are disabled, the maximum block size is 
1199840. 
dbglevel Bit mask specifying the tape device driver debug level; each bit 
corresponds to a specific tape device driver internal module or function. 
The tape device driver sends debugging messages to the host system 
console and the system error log as specified by this value. Though 
primarily intended for tape device driver debugging, you can also use 
this capability to display tape drive controller commands, status, and 
results. 
The following definitions apply:
DST_DBG_NONE - no debug messages
DST_DBG_MODULE - Outputs statements associated with tape device 
driver
loading and unloading.
DST_DBG_AUTOCONFIG - Outputs statements associated with device
driver configuring (or attaching).
DST_DBG_UNIT_ATTN - Outputs messages as SCSI Unit Attention
conditions are processed.
DST_DBG_OPEN - Outputs statements associated with the open
system call.
DST_DBG_CLOSE - Outputs statements associated with the close
system call.
DST_DBG_RW - Outputs statements associated with read and write
system calls.
DST_DBG_IOCTL - Outputs statements associated with the ioctl
system call.










