TAPEUTIL in Windows system environment (NTUTIL)
NT utility program
The device is supported on Intel-based processors with a minimum processor level of Intel 486DX or
Pentium with sufficient RAM and disk space for operation of the Microsoft Windows NT or Windows 2000
operating system.
The utility has these general characteristics:
• Can be driven interactively or from a file (batch mode)
• Allows specification of wanted results from each step of the test so that the test can be self-checking
• Allows testing of all device driver interfaces with both valid and invalid parameters
Starting NTUTIL
The tool can be started as a command from the command prompt or from within a shell script.
ntutil <-f input-file> <-o output-file> <-t tape-path-special-file-name>
<-c changer-path-special-file-name> <-l library-mode-on>
<-d debug-trace-on>
The options are -
-f input-file Specifies the input file for batch mode.
If a file is specified, NTUTIL will execute in
batch mode and read input from this file.
The default for this file is NTUTIL.in.
-o output-file Specifies the output file.
The default for this file is NTUTIL.out.
-t tape-path-special-file-name
Specifies the special file value
(for example, tape0) to substitute on the
"open" statement in the input file.
-c changer-path-special-file-name
Specifies the changer device special file value
(for example, 1b0.1.2.3) to substitute when
executing an open (for both batch and
interactive mode). The special value
def_lun_1 specifies that an open uses the
default lun associated with the
tape-special-file-name.
-l library-mode-on Specifies that an open will open both the tape
path special file and the changer path special
file (for both batch and interactive mode).
-d debug-trace-on Turns on internal tracing printouts in the
output file. Used only to debug the tool
itself.
Note: If no parameters are specified, NTUTIL operates in interactive mode.
Interactive mode
When NTUTIL is started without the -f flag, it defaults to running in interactive or manual mode. This
mode allows a developer to interactively determine the kind of testing to be done. When in interactive
mode, NTUTIL provides a menu of functions that are completed.
The two modes are -
• Base mode (LUN0) commands such as open/close/read/write.
©
Copyright IBM Corp. 2010, 2018
275