Specifications

32 IBM System z Personal Development Tool: Volume 3 Additional Topics
device AA2 3390 3990 /z/TEMP03
We then started zPDT and IPLed z/OS. During z/OS startup the new devices are recognized
as uninitialized volumes and are varied offline. When z/OS was ready, we ran a job to initialize
the volumes:
//BILL123 JOB 1,OGDEN,MSGCLASS=X
// EXEC PGM=ICKDSF,REGION=40M
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
INIT UNIT(AA0) NOVALIDATE NVFY VOLID(TEMP01) PURGE -
VTOC(0,1,05)
INIT UNIT(AA1) NOVALIDATE NVFY VOLID(TEMP02) PURGE -
VTOC(0,1,05)
INIT UNIT(AA2) NOVALIDATE NVFY VOLID(TEMP03) PURGE -
VTOC(0,1,05)
/*
The z/OS operator must reply
U to a ICK003D message for each volume. The volsers
(TEMP01, and so forth) are the same as the Linux file names; this is not required but is a
good practice. After the volumes are initialized, they can be varied online to z/OS, using the
MVS console:
vary aa0-aa2,online
3.8.1 Create a source dump
A normal ADRDSSU job is used to dump the source volume. Our example uses WAS001 as
the volser of the source volume:
//BILL456 JOB 1,OGDEN,MSGCLASS=X
// PGM=ADRDSSU,REGION=40M
//SYSPRINT DD SYSOUT=*
//IN DD UNIT=3390,VOL=SER=WAS001,DISP=SHR
//OUT DD UNIT=3390,VOL=SER=TEMP01,DISP=(NEW,CATLG),
// DSN=OGDEN.OUT.DUMP,SPACE=(CYL,(200,200))
//SYSIN DD *
DUMP INDD(IN) OUTDD(OUT) ADMINISTRATOR COMPRESS OPTIMIZE(4)
/*
The space specified in the output DD statement may need to be adjusted, depending on the
contents of the source volume. We next created another data set with specific DCB
attributes.
6
(This step could be done using ISPF 3.2 functions, but we used a batch job to
provide better documentation.)
//BILL567 JOB 1,OGDEN,MSGCLASS=X
// PGM=IEFBR14
//MAKEIT DD UNIT=3390,VOL=SER=TEMP02,DISP=(NEW,CATLG),
// DSN=OGDEN.XMIT.DUMP,SPACE=(CYL,(200,200)),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=3120)
We then used the TSO xmit command to reformat the dump:
xmit x.y ds('ogden.out.dump') outdsn('ogden.xmit.dump')
This command can take considerable time if a full volume is being processed. The result of all
this is a volume dump in a format known to z/OS, but also in a format (fixed block) that can be
6
These DCB attributes are used by XMIT.