## CONVRTLF

NAME

convrtlf - convert an existing RMSfile

SYNOPSIS

convrtlf datafile [ deffile ]

DESCRIPTION

Convrtlf is used to reformat the RMSfile to match the new definition. If the deffile argument is present, it is used as the new RMS definition file. If the deffile argument is omitted, the RMS definition file is assumed to be in the $HOME\def directory and have the same name as the RMSfile. Data fields are dropped or initialized to zero according to the changes made to the RMS definition file. Convrtlf also performs data type conversion, if necessary, if the data type of a field name is changed. A temporary RMSfile is made in the same directory as the RMSfile to be converted using the new RMS definition file, and dcopy is used to copy the old data into the temporary RMSfile. If the copy is successful, the old RMSfile is replaced by the temporary RMSfile. FILES$HOME\def\datafile for the RMS definition file

cvdf temporary version of new file