Cabletron Systems 9C106 User's Guide Page 127

  • Download
  • Add to my manuals
  • Print
  • Page
    / 134
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 126
9030971 E17
E-1
Appendix E
Exporting To Other Databases
Describes how a post export script can be used to export data to other databases.
Data exports from SPECTRUM to a third party database can be readily
accomplished using a post-export script that uses SQL commands to copy
ASCII delimited data files to the designated database. To export to SQL
output formats, Data Export internally exports to ASCII delimited files and
then runs a script to import the data.
Both the Data Export import script and any post-export script you may specify
need to know information about the ASCII exported files. Data Export
provides this information in a post-export SPECTRUM parameters file. The
name of the file is the same as the definition file name with the .sprm (for
SPECTRUM parameters) extension appended to it (see Organization Of The
Post-Export Parameter File on Page E-2 for the format of the .sprm file.)
The Data Export scripts that copy ASCII data into an SQL database can be
used as a model for scripts to export to other database formats. The scripts
(SDEIngImport for Ingres, SDESybImport for Sybase, SDEOraImport for
Oracle, and for NT platforms only the SDESqlServerImport for SQL Server)
read the .sprm file and the schema files (.sch) and create, copy, and index the
appropriate tables.
Follow these steps to export SPECTRUM data into a third party database
other than Ingres, Oracle, Sybase, or SQL Server:
1. Write a script or other executable file that will copy the ASCII data to the
chosen database using information from the schema files and the .sprm
file. The .sprm file will be passed as an input parameter when the script
is executed. (This script can be modeled after the Data Export import
script files.)
2. Create an export definition file to export to ASCII delimited files,
specifying the necessary delimiters and format options for the target
product. Specify the script executable created in Step 1 as the post-export
script.
3. Perform the ASCII export or schedule it.
Page view 126

Comments to this Manuals

No comments