Mass data are primarily kept on MVS.
By FOPI convention Raw and DST data are stored in such a way that MVS and
the different
UNIX systems can share the same data pool.
See
how to copy data from MVS.
There are in principle three ways to access mass data.
raw/i/file /data01/run_0815.lmd # accessing raw data dst/scan /data01/run_0815.dst ! Y # overview of DST data dst/i /data01/run_0815.dst ! Y # DST input dst/o /data01/run_0815.dst <run-no> ! Y # DST outputPlease do not keep mass data in user filesystems and do not use mount points to mass storage in user file systems.
raw/i/file TAPE:run_0815.lmd # accessing raw data dst/scan TAPE:run_0815.dst ! Y # overview of DST data dst/i TAPE:run_0815.dst ! Y # DST input dst/o TAPE:run_0815.dst <run-no> ! Y # DST outputwhere you have to define before:
export TAPE=/dev/rmt0 # AIX, first attached tape export TAPE=/dev/rmt5h # ultrix, tape at SCSI ID 5
mkdir /kp09 mkdir /kp09/dstx mkdir /kp09/lmdvPlease do not use mount points in user directories !! They are not necessary and they cause nothing but trouble, in particular when user file systems are to be backed up.
mvsdata.shAt present, these mounts are not permanent, they do not survive a shutdown of your local machine or of the NFS server on MVS.
machine mvs128 login <mvs-account> password <mvs-password> # via tokenring, RS/6000 only, machine mvs login <mvs-account> password <mvs-password> # via ethernetTo authorize you just have to type
mvslogin mvs128or
mvslogin mvsAs with a normal TSO session, there is a timeout of several hours if you do not perform any NFS file operations, so it may be necessary to give that command from time to time or at the beginning of a batch command file.
MVS: KP09.LMDV.S018.RAW0815 UNIX: /kp09/lmdv/s018.raw0815
hsmtrig <filename> # triggers recall and returns control
hsmwait <filename> [ <timeout> [ <timeinc> ] ]
# Waits for the specified file to be
# recalled.
# Fails after <timeout> seconds
# are expired (optional).
# Retries every <timeinc> seconds
# (optional).
These commands allow an asynchronous recall and a synchronization when
you really need the dataset. See the example below. shell mvslogin mvs128 # authorize yourself
shell hsmtrig /kp09/dstx/s018c.dst0681 # trigger 1st file
shell hsmwait /kp09/dstx/s018c.dst0681 600 # wait for 1st, max 600s
shell hsmtrig /kp09/dstx/s018c.dst0682 # trigger 2nd
dst/i /kp09/dstx/s018c.dst0681 ! Y # open 1st
dst/a 10000 # analyze 1st
shell hsmwait /kp09/dstx/s018c.dst0682 600 # wait for 2nd
shell hsmtrig /kp09/dstx/s018c.dst0683 # trigger 3rd
dst/i /kp09/dstx/s018c.dst0682 ! Y
dst/a 10000 # analyze 2nd
shell hsmwait /kp09/dstx/s018c.dst0683 600 # wait for 3rd
shell hsmtrig /kp09/dstx/s018c.dst0684 # trigger 4th
dst/i /kp09/dstx/s018c.dst0683 ! Y
dst/a 10000 # analyze 3rd
shell hsmwait /kp09/dstx/s018c.dst0684 600 # wait for 4th
dst/i /kp09/dstx/s018c.dst0684 ! Y
dst/a 10000
This method overlaps the local analysis of the "n-th" file
with the recall delay on MVS for the "(n+1)-th" file
and hence should improve your overall throughput.
The timeout value of 600 seconds is a guess, you will probably have to
make your own experience. 0653-341 The file /kp09/xyz does not exist
<E> Read error on direct file (IOSTAT= 10)
Invalid or malformed GOOSY file header
although the file is supposed to exist indicate that it does reside
on MVS tape or you are not authorized to access it.
Cure: trigger a recall and/or wait for completion and/or
do an mvslogin.
Back to GSI Home Page
Back to FOPI Home Page
Index
fopi
Tue May 28 15:33:35 CST 1996