Product Documentation
Dracula Reference
Product Version IC23.1, September 2023

B


Data Structure Translator

Appendix B discusses the Data Structure Translator.

Running the Translator

You can use the Translator utility to convert Dracula III, 4.4 (called new) data files into Dracula II (old) data files and convert Dracula II to Dracula III.

To run the translator on a UNIX workstation, type the following:

% DBCONVER

The Translator displays a header similar to the following:

********************************************************************
*/N DBCONVER (REV. 4.4 / SUN-4 /GENDATE: 28-Jun-95/10)
*** ( Copyright 1995, Cadence ) ***
*/N EXEC TIME =20:16:01 DATE = 5-Aug-95
********************************************************************
>>If you have any questions, please type ’help’ at any time.(x/exit)<<
Enter IN & OUT FILE (case sensitive):

Enter file names with at least one space between IN and OUT file names.

: FILE-IN.DAT FILE-OUT.DAT

The program converts the IN file name to the OUT file name. When the conversion is finished, the program displays the file names and the direction of the conversion (new to old, or old to new).

(new->old) : FILE-IN.DAT -> FILE-OUT.DAT

To terminate the program, enter

% [RETURN] 

The following restrictions apply to this program:

If you are using PDRACULA II as well as PDRACULA III, you need to document the variable RUNDRAC when switching between Dracula II and Dracula III.

Examples

FN.DAT         -->  FN.DAT  FN.DAT
fn.dat      fm.dat  -->  fn.dat  fm.dat
fn.dat     ../   -->  fn.dat  ../fn.dat
../FN.DAT     ../ fm.dat  -->  ../FN.DAT  ../fm.dat

The program can do conversions in only one direction during a run. If you are converting old data files (Dracula II) to new (Dracula III), you must exit and invoke DBCONVER again if you want to convert new to old.


Return to top
 ⠀
X