Recitalconvert

From Recital Documentation Wiki
Revision as of 15:54, 24 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DBCONVERT The DBCONVERT utility can be used to convert Xbase files into Recital format. The utility is run from the Operating System prompt, with the following syntax:

$ dbconvert <filetype> [<filename>]

Xbase binary files must be converted into Recital format before they can be used, unless they are being accessed using the Replaceable Database Drivers. ASCII format files can be used without conversion, but the conversion will correct the line feed format of the file to that of the new host platform. The following files can be converted:

File Contents File Extension Renamed extension (OpenVMS) Renamed extension (UNIX/Linux) Converted file extension
table dbf old_dbf o_dbf dbf
program prg old_prg o_prg prg
format fmt old_fmt o_fmt fmt
memory mem old_mem o_mem mem
report frm old_frm o_frm frm
report frx old_frx o_frx frm
text txt old_txt o_txt txt

The file types are as follows:

File Type Description
ALL All convertible files in the current directory
DBF Tables and Memos
FMT Screen Format files
FRX FoxPro Report Format files
MEM Memory files
PRG Program files
TXT Text files
FRM Report Format files

The optional <filename> can be used to specify a single file or a group of files that match a pattern.

$ dbconvert dbf conv*.dbf

If the <filetype> is ALL, a ’config.db’ file will automatically be created in the current directory containing the following compatibility commands:

set pcfilter on set pcgraphics on set prompt to "." set pckeys on set inkeydelay on