FCOPY Reference Manual (32212-90008)
70 Chapter5
FCOPY Functions
DEBLOCK
If you deblock labeled tapes, you must specify "undefined" records in the FILE command
describing the tape file. For example:
FILE TAPEBYTE;DEV=TAPE;LABEL=TLABEL;REC=-6000,1,U,ASCII
Example
The example below copies a file from tape to disk. The original tape file, TAPEBYTE, is a
foreign tape that has records grouped in 79-byte blocks, and its blocking factor is 10. The
FILE command in the example instructs FCOPY to treat TAPEFILE as if each block of the
file were a single record, by defining the record length as the original record length times
the blocking factor (790), and defining the new blocking factor as 1. The FCOPY command
instructs FCOPY to copy the file, extracting 79-byte records from each block.
>:FILE TAPEBYTE;REC=-790,1,U,ASCII
>FROM=*TAPEBYTE;TO=DISC1;DEBLOCK=-79