The copying of data from one tape device to another is yet another function of TAPEMNGL. TAPEMNGL allows you to copy all or part of the data from one tape to another. It is completely independent of device type and will copy from one density to any other and will copy from reel to cartridge or vice versa. It can copy from standard label (SL) to standard label, from no label (NL) to no label, from DOS SL to DOS SL, from SL to NL, from DOS SL to SL, from NL to SL, from ASCII label (AL) to ASCII label, from AL to SL, from AL to NL, etc.
TAPEMNGL will copy whole tapes or will copy selected files from an input tape to an output tape. Using a card file the user can select just the files he wants to copy to the new output tape. These files can be rearranged in any order. TAPEMNGL can be used to make 1 to 14 exact duplicates of a tape (down to the labels), or it can make an exact copy of the tape data with new headers and trailers.
In order to copy from an NL or DOS tape top an SL tape certain additional information about each file must be supplied. After all a no label tape does not have any header records giving dataset name, LRECL, BLKSIZE, and record format that normally appear in the labels of a standard label tape. These are supplied to TAPEMNGL in a card file, and TAPEMNGL uses this information to create headers and trailers for each file it copies.
The following is a sample of a JCL using TAPEMNGL to copy files 3 to 12, files 20 to 24, and files 14 to 16 of TAPE01 to files 1 to 18 of TAPE02:
//STEPNAME EXEC PGM=TAPEMNGL,PARM=COPY
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD UNIT=####-#,VOL=SER=TAPE01
//SYSUT2 DD UNIT=####-#,VOL=SER=TAPE02,
//SYSIN DD *
What TAPEMNGL Can Do
Why the Strange Name
All Contents Copyrighted © 1979, 1984, 1987, 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001
by David R. Meyers and Cache Valley Software. All Rights Reserved.