DATMAN TECHNICAL BULLETIN #032
From: Kan Yabumoto tech@datman.com
To: DATMAN user
Subject: DATMAN HOTAPI, List of API commands and their parameters
Date: 2000-01-22
====================================================================
List of HOTAPI functions.
Write-only (output) examples:
FORMAT label comment ; Format tape, standard
FORMATQ label comment ; Format tape, quick
MOUNT [ blockno ] ; Mount volume (0:quick,-1:long)
UNMOUNT ; Unmount volume
RSTCACHE ; Reset cache
CMODE [ 0 | 1 ] ; Set compression mode (off/on)
NGROUP [ 0 .. 7 | -1 ] ; Set Ngroup
SEEK [ blockno ] ; Seek block
RMODE [ 0 | 1 ] ; Set readonly mode (off/on)
FLUSH [ 0 .. 3 ] ; Flush catalog (permanent,condional)
CLOSE [ 0 | 1 ] ; Close Session (as needed/always)
PARK ; Park the cartridge
EJECT ; Eject the cartridge
EXIT [ 0 | 1 ] ; Exit from DATMANCC (prompt/always)
HELP [ cmnd_name ] ; Help in hotapi
Read-only (input) exampels:
VERSION ; Get version number
STATUS ; Get DATMAN status
STATUSS ; Get DATMAN status short (one line)
LICENSE ; Show license information
DMSERIAL ; Get DATMAN serial number
DINSTKEY ; Get DATMAN install key
DSYSCODE ; Get DATMAN system code
HISTORY ; History (80-columns)
HISTORYX ; History (full width)
RESULT ; Shows the text from the last command
FREEKB ; Get free KB remaining
WRITEPOS ; Get writepos value (hidden)
Autoloader specific commands:
ALRESET [ 0 | 1 ] ; Reset Autoloader and clear tape labels
ALPROBE ; Probe all label
ALSTATUS ; Show Autoloader status
ALLOAD [ slotno ] ; Load a tape in the magazine
ALEJECT [ slotno ] ; Eject the tape to a magazine slot
For the List of HOTAPI functions supported by the current DATMAN file
system, run the following command (assuming T: is the drive letter).
DATMANIA T: HELP ; Show essentially the same text as above
DATMANIA /? ; DATMANIA's invocation syntax only
A general discussion on the DATMAN HOTAPI protocol is available in TB #031 .