* %SYSTEM-F-MEDOFL, medium is offline
@ 2000-12-19 17:27 bawilhelm
0 siblings, 0 replies; only message in thread
From: bawilhelm @ 2000-12-19 17:27 UTC (permalink / raw)
I recently installed a TZ877 (7 tape magazine with TZ87 drive) on an
HSD50. I installed it as a tape device. We have an existing
command procedure that initializes a series of tapes that worked with
the tape drive when connected via a SCSI card directly in our VAX
4000-705A running VMS 7.1. I now get an error message
"%SYSTEM-F-MEDOFL, medium is offline" when using the procedure on the
tape drive via the HSD50. It seems something is timing out while the
loader switches tapes. Does anyone have any insight into my problem? I
have included the procedure. It is not very elegant but functions.
####################
$!
$ TYPE SYS$INPUT
This procedure will initialize from one to seven TK85 tape
cartridges. Please fill the tape magazine and load the
first tape. The label format should be C85nnn.
$ INQUIRE tapes "Enter the number of tapes to be initialized (1 - 7)"
$ IF tapes .EQS. "" THEN EXIT
$ INQUIRE P1 "Enter label for first TK85 tape cartridge"
$ IF tapes .EQ. 1 THEN GOTO start
$ INQUIRE P2 "Enter label for second TK85 tape cartridge"
$ IF tapes .EQ. 2 THEN GOTO start
$ INQUIRE P3 "Enter label for third TK85 tape cartridge"
$ IF tapes .EQ. 3 THEN GOTO start
$ INQUIRE P4 "Enter label for fourth TK85 tape cartridge"
$ IF tapes .EQ. 4 THEN GOTO start
$ INQUIRE P5 "Enter label for fifth TK85 tape cartridge"
$ IF tapes .EQ. 5 THEN GOTO start
$ INQUIRE P6 "Enter label for sixth TK85 tape cartridge"
$ IF tapes .EQ. 6 THEN GOTO start
$ INQUIRE P7 "Enter label for seventh TK85 tape cartridge"
$!
$start:
$!
$ DEFINE/PROCESS/NOLOG CT hsd500$mua500:
$!
$ SHOW TIME
$ INITIALIZE CT 'P1'
$ SHOW TIME
$ MOUNT/FOREIGN CT
$ DISMOUNT CT
$ IF tapes .EQ. 1 THEN GOTO end
$ INITIALIZE CT 'P2' ***********Error occurs here*************
$ SHOW TIME
$ MOUNT/FOREIGN CT
$ DISMOUNT CT
$ IF tapes .EQ. 2 THEN GOTO end
$ INITIALIZE CT 'P3'
$ SHOW TIME
$ MOUNT/FOREIGN CT
$ DISMOUNT CT
$ IF tapes .EQ. 3 THEN GOTO end
$ INITIALIZE CT 'P4'
$ SHOW TIME
$ MOUNT/FOREIGN CT
$ DISMOUNT CT
$ IF tapes .EQ. 4 THEN GOTO end
$ INITIALIZE CT 'P5'
$ SHOW TIME
$ MOUNT/FOREIGN CT
$ DISMOUNT CT
$ IF tapes .EQ. 5 THEN GOTO end
$ INITIALIZE CT 'P6'
$ SHOW TIME
$ MOUNT/FOREIGN CT
$ DISMOUNT CT
$ IF tapes .EQ. 6 THEN GOTO end
$ INITIALIZE CT 'P7'
$ SHOW TIME
$ MOUNT/FOREIGN CT
$ DISMOUNT CT
$end:
$ SHOW TIME
$ WRITE SYS$OUTPUT "Initialization Complete"
$!
$ EXIT
Sent via Deja.com
http://www.deja.com/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-19 17:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-19 17:27 %SYSTEM-F-MEDOFL, medium is offline bawilhelm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox