Suppose the tape librarian is asked to convert reel tape REEL01 to a cartridge tape for user ID ANDI:
vmtape mount reel01 181 (noring anytape vmtape mount scratch 289 dsn data.set.name (den 38K ring
/* copy tape 181 to 289 */
‘TAPE REW (TAP1’
‘TAPE REW (TAP9’
do until recs.1=0
‘PIPE’,
‘| tape TAP1’,
‘| tape TAP9 wtm’,
‘| count lines’,
‘| stem recs.’
end
vmtape list reel01
vmtape catalog cart01 dsn data.set.name (fileseq 2
Repeat the CATALOG command for each data set on the tape. Additional volume information such as passwords and expiration dates can also be cataloged as desired.
vmtape edit reel01 replace deleted on
vmtape edit cart01 replace cjob andi
Cartridge tape CART01 is now owned by user ID ANDI, and contains the data from reel tape REEL01.
|
Copyright © 2013 CA.
All rights reserved.
|
|