Copy a tape drive's trace table.
The trace table of the tape drive is written to diskettes or a file. The diskettes
must be formatted for DOS. Writing the trace table may require several diskettes.
The actual number of diskettes is determined by the size of the trace table.
Label the diskettes as follows:
'TRACE[x].DAT' (where 'x' is a sequential diskette number). The complete trace
table consists of the sequential concatenation of all the diskette data files.
When the trace table is written to a disk file, the service aid prompts for a file
name. The default name is: '/tmp/TRACE.<x>', where x is the AIX name of the
SCSD tape drive being tested.
Display or copy a tape drive's log sense information.
The service aid provides options to display the log sense information to the
screen, to copy it to a DOS formatted diskette or to copy it to a file. The file
name "LOGSENSE.DAT" is used when the log sense data is written on the
diskette. The service aid prompts for a file name when the log sense data is
chosen to be copied to a file.
This service aid may be run directly from the AIX command line. The following usage
statement describes the syntax of the command (path is
/usr/lpp/diagnostics/bin/utape):
Usage:
utape [-h | -?] [-d <device>] [-n | -l | -t]
or
utape -c -d <device> [-v] {-n | {-l | -t} { -D | -f [<filename>]}}
Flag Description
-c Run the service aid without displaying menus. The return code indicates
success or failure. The output is suppressed except for the usage
statement and the numeric value for hours since cleaned (if -n and -D
flags are used).
-D Copy data to diskette.
-f Copy data to the filename given after this flag or to a default filename if
no name is specified.
-h, -? Display a usage statement and/or return code. If the -c flag is present,
only the return code displays to indicate the service aid did not run. If the
-c isn't used, a usage statement displays and the service aid exits.
-l Display or copy log sense information.
Chapter 9. Introducing Tasks and Service Aids 9-31