|Contents:||Main||Chapter||See Also:||Getting Started Manual||Programmer Manual|
When importing from a data file that's been transferred to a VMS-based computer system, a problem can occur if, once transferred, the data file does not get a maximum record length stored in its file header. This can happen when a DOS file is moved to a VMS system by some protocols. When the maximum record length is unknown, VMS uses a default maximum size of 510. If the length of a data record in the source file is larger than the maximum size, an error results.
The solution is to run the VMS CONVERT utility on the Host file. This utility adds the maximum record information to the file header and everything will work just fine!
You can see if the maximum record length is stored in a file's header on a VMS system, by using the following DCL command:
DIR filename /FULL
Reviewed/Updated: March 4, 2007