


vutil can convert a Micro Focus file into a Vision file. This is useful when you are moving Micro Focus data to an ACUCOBOL-GT application. The command is:
vutil -convert [-ac] [+c] [-f #] [-234] [-d dir] [mf-files]
You need not specify that the file is Micro Focus; vutil will determine that.
The "convert" function will take each named mf-file and convert it from a Micro Focus indexed file to a corresponding Vision file. If no mf-files are specified, then the standard input is read for a list of files to convert.
Normally vutil will warn the user about the impending conversion and ask if he or she wants to continue. The "-a" (for "automatic") option suppresses this warning. This can be useful when you are calling vutil from another program.
Specifying the "-c" option will cause the resulting file to have uncompressed records regardless of the original file; using "+c" will cause the resulting records to be compressed.
The "-f #" option sets the compression factor to be used when the file is converted. This option does not force the use of compression, it merely sets the compression factor if compression is used. The compression factor, a numeric literal, specifies how much of the space saved by compression is actually to be removed from the record.
The "-4" option specifies that you want the resulting file to be in Vision Version 4. A "-3" means you want the file to be a Version 3 file, and "-2" means you want a Version 2 file.
The "-d" option specifies that you want the converted files to be placed in a new directory. Dir should be the name of a directory on the machine other than the directory containing the files to be converted. The "-d" option implies the "-a" option.