TAPWRT procedure writes data from the
parameter to the selected tape unit. TAPWRT is available only under VMS. One physical record containing the same number of bytes as the array is written each time TAPWRT is called. The parameters and usage are identical to those in the TAPRD procedure with the exception that here the
parameter can be an expression. Consult the TAPRD procedure for details. See the description of the magnetic tape routines in
Array, Unit [, Byte_Reverse]
The magnetic tape unit to write. This argument must be a number between 0 and 9, and should not be confused with standard file Logical Unit Numbers (LUNs).
The expression representing the data to be output. The length of
and the records on the tape can range from 14 bytes to 65,235 bytes.
If this parameter is present, the even and odd numbered bytes are swapped on output, regardless of the type of data or variables. This enables writing tapes that are compatible with other machines.