Was this helpful?
VMS File Types for COPY
You can specify file type using the optional type parameter. Type must be one of the values listed in the following table:
Record Format
Record Attributes
Variable length
Records delimited by carriage return
Fixed length
Variable length
If you omit type, copy determines the file type as follows:
If all fields in the file are character types (char, varchar), and all records end in <newline>, copy creates a text file.
If the file contains variable length records, its file type is variable. Variable length records occur if one or more fields are stored as varchar(0).
If none of the preceding conditions apply, copy creates a binary file.
If you specify type, the contents of the file must be in accordance with these rules. If it is not, copy creates the data file according to the preceding rules.
Last modified date: 06/10/2024