There is a GSI-made utility program which allows exchange of binary data between UNIX tapes and disks as well as between the MVS data pool and UNIX tapes and disks. Here is a short description:
bincopy <infiles> <outfiles> # lists of files, separated by commas, no blanks [-l<label>] # for tape output: name of tape, <= 6 characters [-f<recordformat>] # for tape output from UNIX disk [-r<recordlength>] # for tape output from UNIX disk [-b<blocksize>] # for tape output: physical blocksize [-s<filesize-in-bytes>] # for tape input: max. filesize, def.=200MB [-d] # debug option, lots of output [-i<inprefix>] # prefix every infile name with <inprefix> [-o<outprefix>] # prefix every infile name with <outprefix> [-h] # HSM recall/migrate action runs in parallel to network transfer # saves disk space on MVSHere are some typical examples:
bincopy 0815.lmd,1001.lmd 0815,1001 -i/dev/rmt0:run_ -omvs128::kp09.lmdv.s109.raw -h # run_0815.lmd -> kp09.lmdv.s109.raw0815 # run_1001.lmd -> kp09.lmdv.s109.raw1001
bincopy 0815.lmd,1001.lmd 0815.lmd,1001.lmd -i/dev/rmt0:run_ -o/data01/run_ -lTxxxxx # run_0815.lmd -> /data01/run_0815.lmd # run_1001.lmd -> /data01/run_1001.lmd
bincopy 0815,1001 0815.dst,1001.dst -o/dev/rmt0:run_ -imvs128::kp09.dstx.s109.dst -h # kp09.dstx.s109.dst0815 -> run_0815.dst # kp09.dstx.s109.dst1001 -> run_1001.dst
bincopy 0815.dst,1001.dst 0815.dst,1001.dst -o/dev/rmt0:run_ -i/data01/run_ -lTxxxxx -fF -r3600 # /data01/run_0815.dst -> run_0815.dst # /data01/run_1001.dst -> run_1001.dst
fopi
Tue May 28 15:33:35 CST 1996