next up previous contents
Next: Putting Tapes in Up: Tutorial Previous: Importing Tapes into

Exporting Tapes from the Jukebox

On some jukeoboxes, tapes can come in and out of jukeboxes via some form of "mailbox slot" or port where tapes can be entered into the jukebox without opening and closing the door. The "import" and "export" commands are used to do this. You can tell if the jukebox you have supports this by whether it lists and "port" locations in the list output.

By default, "export" will use port 0 to remove the named tape from the jukebox. You can also export listing a specific drive or slot rather than a tape name. An example of using export to unload a tape by name is:

% juke
> set jukebox xyz
> import "newtapename"
> list
default drive: d0
default slot: s0
default port: p0
NAME                      WHERE              HOPS DATE
fnsfc.Mon.A              slot 0                 0 Tue Jun 29 18:37:49 1993
fnsfb.Mon.A              slot 1                 0 Tue Jun 29 18:37:57 1993
fnsfa.Mon.A              slot 2                 0 Tue Jun 29 18:31:13 1993
fnsfg.Mon.A              slot 3                 2 Tue Jun 29 18:31:09 1993
...
newtapename              slot 56                 2 Tue Jun 29 18:31:09 1993
...
(empty)                 drive 0 (    tps0d3)    0 Wed Dec 31 18:00:00 1969
(empty)                 drive 0 (    tps0d3)    0 Wed Dec 31 18:00:00 1969
(empty)                 drive 0 (    tps0d3)    0 Wed Dec 31 18:00:00 1969
(empty)                 drive 0 (    tps0d3)    0 Wed Dec 31 18:00:00 1969
(empty)                 port 0                  0 Wed Dec 31 18:00:00 1969
> export newtapename
Remove tape from port and press enter:
> list
default drive: d0
default slot: s0
default port: p0
NAME                      WHERE              HOPS DATE
fnsfc.Mon.A              slot 0                 0 Tue Jun 29 18:37:49 1993
fnsfb.Mon.A              slot 1                 0 Tue Jun 29 18:37:57 1993
fnsfa.Mon.A              slot 2                 0 Tue Jun 29 18:31:13 1993
fnsfg.Mon.A              slot 3                 2 Tue Jun 29 18:31:09 1993
...
(empty)                  slot 56                 2 Tue Jun 29 18:31:09 1993
...
(empty)                 drive 0 (    tps0d3)    0 Wed Dec 31 18:00:00 1969
(empty)                 drive 0 (    tps0d3)    0 Wed Dec 31 18:00:00 1969
(empty)                 drive 0 (    tps0d3)    0 Wed Dec 31 18:00:00 1969
(empty)                 drive 0 (    tps0d3)    0 Wed Dec 31 18:00:00 1969
(empty)                 port 0                  0 Wed Dec 31 18:00:00 1969
>
...

... or from the command line:

% juke export jukebox xyz "newtapename"
Remove tape from port and press enter:
%



Marc Mengel
Wed May 29 11:09:46 CDT 1996