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:
- The IN file name and OUT file name are both case sensitive. The program also preserves the case you use when entering the names.
- The IN file name must be either a file name or a full path name. The OUT filename can be a directory name, a full path name, or a blank.
- If the IN file name and OUT file name are identical and in the same directory, the program overwrites the IN file name.
- You can create a file containing a list of the IN and OUT file names called DIRFILE.DAT and use this file as the IN file name. The format for this file is the same as that given above.
- The program also converts ASCII files to the new file name and/or overwrites the old file.
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.
- If you are using PDRACULA II, set RUNDRAC to 2. This tells the software to generate an uncompressed format database. With RUNDRAC set to 2, LOGLVS generates LOGLVS.DAT for the SCHMIN module in an uncompressed format.
- If you are using PDRACULA III, set RUNDRAC to 3 so the software generates a compressed format database. With RUNDRAC set to 3, LOGLVS generates LVSLOGIC.DAT for SCHMIN module in a compressed format.
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