Hello,
I'm trying to learn how to use (virtual) tapes with OS/390 ADCD running on Hercules Hyperion Release 4.7.
I'd prefer to minimize switching between windows to type commands, even if this is much less labor than decades ago when inserting a tape meant running around a lot. Hence I want to avoid having yet another shell window open to create an already initialized tape, but use the MVS way.
My Hercules.cnf definition is:
0560 3480 *
So, I submit this job (job card omitted deliberately):
//INZTAP EXEC PGM=IEHINITT
//SYSPRINT DD SYSOUT=*
//DEV0560 DD UNIT=(560,,DEFER)
//SYSIN DD *
DEV0560 INITT SER=BKTAP1,DISP=REWIND,OWNER='P390'
/*
After confirming the mount request on the MVS console, I load the tape:
devinit 560 bktap1.aws
Note: bktap1.aws does not exist prior.
The tape is then labeled as requested, and unloaded, RC=0. The DISP=REWIND seems to be ignored, though. For the next job step (ADRDSSU) to proceed, I must reload the tape again (devinit).
I found this:
Stating:
Tapes in a Tape Library Dataserver are unconditionally unloaded regardless of the specification for this parameter.
Now I wonder if this sentence is applicable to the 3380 emulation in Hercules 4.7.
How can I prevent the tape from being unloaded after IEHINITT finished its job?
Thank you!
:wq! PoC