Post by Mike Stramba ***@gmail.com [H390-MVS]How do I format a new 3390 for tk4- ?
For a 3350, ICKDSF works, but for a 3390, I'm not getting a console
prompt "reply to alter contents"
I added the 3390 as device 0192 per SYS1.SYSGEN.CNTL(IOGEN)
Mike
Under MVS3.8j (beside being TK4- or another sysgen), I found
definitely easier to format 3390 (even not standard 3390) using
the hercules "dasdload" command.
I'm under Linux and as UNIX user I use this short bash
script to format dasds for MVS3.8j (in general any model
of dasd, not only 3390):
==================================================
#!/bin/bash
dev=$1
vol=$2
trk=$3
ctl=$(mktemp /tmp/dasdctl.XXX)
cat << EOF > $ctl
$vol $dev *
sysvtoc vtoc trk $trk
EOF
vol=$(echo ${vol} | tr '/A-Z/' '/a-z/')
cat $ctl
dasdload -a -z $ctl $vol.$dev
rm $ctl
====================================================
The script may be easily converted to any scripting
language, under any OS, and I use it on this way:
mkdasd.sh 3390 vollab 30
to create the hercules dasd file "vollab.3390" in
the current directory (30 should be the number of
tracks reserved for VTOC).
The volume is ready to be attached to the hercules emulator
to a free XXX channel which had MVS sysgen for a 3390 (d u,dasd,offline
is your friend) and mounted with the MVS console commands:
V XXX,ONLINE
M XXX,VOL=(SL,VOLLAB),USE=PRIVATE
If the volume get mounted by MVS, it should be ready
to be used from REVIEW.
You are going to get a "VTOC conversion error" at the
very first dataset allocation (never understood why, any
insight?), but after this first error I never got
problems, even for non standard 3390 volumes.
Hope it helps, Peppe.