Difference between revisions of "Recitalconvert"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
DBCONVERT
+
==Class==
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:
+
Utilities
  
 +
 +
==Purpose==
 +
The DBCONVERT utility can be used to convert Xbase files into Recital format or upgrade older Recital tables to the latest format. 
 +
 +
 +
==Syntax==
 
$ dbconvert <filetype> [<filename>]
 
$ dbconvert <filetype> [<filename>]
 +
 +
 +
==See Also==
 +
[[CONVERT]], [[SET COMPATIBLE]], [[SET FILETYPE]]
 +
 +
 +
==Description==
 +
The dbconvert utility is run from the Operating System prompt to convert Xbase files into Recital format or upgrade older Recital tables to the latest format.
  
 
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:
 
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:
  
{|
+
====Xbase Files====
|File Contents||File Extension||Renamed extension (OpenVMS)||Renamed extension (UNIX/Linux)||Converted file extension
+
 
 +
 
 +
{| class="wikitable"
 +
!File Contents||File Extension||Renamed extension (OpenVMS)||Renamed extension (UNIX/Linux)||Converted file extension
 
|-
 
|-
 
|table||dbf||old_dbf||o_dbf||dbf
 
|table||dbf||old_dbf||o_dbf||dbf
Line 25: Line 42:
 
|}
 
|}
  
The file types are as follows:
 
  
{|
+
====<filetype>====
|File Type||Description
+
The <filetype> parameter can be any of the following:
 +
 
 +
 
 +
{|class="wikitable"
 +
!File Type||Description
 
|-
 
|-
|ALL||All convertible files in the current directory
+
|all||All convertible files in the current directory
 
|-
 
|-
|DBF||Tables and Memos
+
|dbf||Tables and Memos
 
|-
 
|-
|FMT||Screen Format files
+
|fmt||Screen Format files
 
|-
 
|-
|FRX||FoxPro Report Format files
+
|frx||FoxPro Report Format files
 
|-
 
|-
|MEM||Memory files
+
|mem||Memory files
 
|-
 
|-
|PRG||Program files
+
|prg||Program files
 
|-
 
|-
|TXT||Text files
+
|txt||Text files
 
|-
 
|-
|FRM||Report Format files
+
|frm||Report Format files
 
|-
 
|-
 +
|year2000||Pre-8.0 Recital Tables
 +
|-
 +
|ver90||Pre-9.0 Recital tables
 +
|-
 +
|largefile||Pre large file support Recital tables
 
|}
 
|}
  
 +
 +
====<filename>====
 
The optional <filename> can be used to specify a single file or a group of files that match a pattern.
 
The optional <filename> can be used to specify a single file or a group of files that match a pattern.
  
 +
 +
<pre>
 
$ dbconvert dbf conv*.dbf
 
$ dbconvert dbf conv*.dbf
 +
</pre>
 +
 +
 +
====ALL====
 +
If the <filetype> is ALL, a ’[[Configuration Files|config.db]]’ file will automatically be created in the current directory containing the following compatibility commands:
 +
 +
[[SET PCFILTER|set pcfilter on]]
 +
[[SET PCGRAPHICS|set pcgraphics on]]
 +
[[SET PROMPT|set prompt to "."]]
 +
[[SET PCKEYS|set pckeys on]]
 +
[[SET INKEYDELAY|set inkeydelay on]]
 +
  
If the <filetype> is ALL, a ’config.db’ file will automatically be created in the current directory containing the following compatibility commands:
+
==Products==
 +
Recital Terminal Developer
 +
For server products, please see the [[CONVERT]] command.
  
set pcfilter on
+
[[Category:Documentation]]
set pcgraphics on
+
[[Category:Reference]]
set prompt to "."
+
set pckeys on
+
set inkeydelay on
+

Revision as of 16:14, 24 March 2009

Class

Utilities


Purpose

The DBCONVERT utility can be used to convert Xbase files into Recital format or upgrade older Recital tables to the latest format.


Syntax

$ dbconvert <filetype> [<filename>]


See Also

CONVERT, SET COMPATIBLE, SET FILETYPE


Description

The dbconvert utility is run from the Operating System prompt to convert Xbase files into Recital format or upgrade older Recital tables to the latest format.

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:

Xbase Files

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


<filetype>

The <filetype> parameter can be any of the following:


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
year2000 Pre-8.0 Recital Tables
ver90 Pre-9.0 Recital tables
largefile Pre large file support Recital tables


<filename>

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


$ dbconvert dbf conv*.dbf


ALL

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


Products

Recital Terminal Developer For server products, please see the CONVERT command.