To do something with a particular jukebox we first need to know its name, so that we can tell the juke program which jukebox to use. The juke program will tell us what jukeboxes it knows of so that we can pick the one we want. In this example we'll use the show command to get a list of the available jukeboxes, and then set a default jukebox to the one called "sga" on host "cdfsga".
% juke
> show jukebox
default jukebox:
JUKEBOX@HOST JTYPE,DEVICE DBTYPE,FILE
laa@dcdlaa EXABYTE,/dev/scsi/sc0d2l0 dbm,dbfile
sga@cdfsga EXABYTE,/dev/scsi/sc0d7l0 dbm,sgadb
juke0@fnmwx8 EXABYTE,/dev/scsi/sc0d6l0 dbm,juke0
> set jukebox=sga
> show jukebox
default jukebox: sga
JUKEBOX@HOST JTYPE,DEVICE DBTYPE,FILE
laa@dcdlaa EXABYTE,/dev/scsi/sc0d2l0 dbm,dbfile
sga@cdfsga EXABYTE,/dev/scsi/sc0d7l0 dbm,sgadb
juke0@fnmwx8 EXABYTE,/dev/scsi/sc0d6l0 dbm,juke0
> quit
%
First lets talk about the listing we got when we said "show jukebox". It first says what our default jukebox is; in the first listing we did not have one yet, so none was listed; in the second listing since we had set a default jukebox, its name was listed.
Next the listing has column headers, and an entry for each jukebox. The first column, called "JUKEBOX@HOST" lists the names of the jukeboxes, and the name of the hosts to which they are connected. So in this case the jukebox named "laa" is connected to host dcdlaa, "sga" is connected to host cdfsga, and "juke0" is connected to host fnmwx8. Note that this describes control connection between the jukebox and a host; the host is the one that can directly control the jukebox, but not neccesarily the one which is connected to any tape drives in the jukebox.
The second column lists the jukebox type and device; the device is the name the host understands that connects it to the jukebox, and the type says what kind of jukebox it is so the software knows how to talk to it. In this example all the jukeboxes are EXABYTE jukeboxes connected to some SCSI port on their respective hosts.
The third column lists the type and name of the database of tape names associated with that jukebox. In this example they are all dbm files. The name is a filename in the directory $JUKE_DIR on the host from the first column.