Moving the sample data to the server  Moving the ASE scripts to the server

Chapter 3: Cache Database Setup

Editing the script files

All script files are located %Sybase%\Data\ASE\RAP_Load directory. These files contain placeholders that you must change to values that correspond to the RAP cache database.

Shell scripts

Use an editor to change the placeholders in the load_unix_ase_rap_tables.sh and load_unix_ASE_TAQ_tables.sh scripts to match the server, database, and path names:

Change this...

To your value for this...

<ASE Server>

Server name

<ASE Database>

Database name

<path>

Full path to the .csv files

<Database Name>

Database name

SQL scripts

Use an editor to change the <Database Name> placeholder in the truncate_tables_ase.sql script to match the RAP cache database name.

NoteNotes

Use an editor to change the <TRADE DataBase> and <QUOTE DataBase> placeholders in the truncate_ASE_TAQ_tables_ase.sql script to match the cache database names. This script truncates both the STOCK_TRADE table in one cache database and the STOCK_QUOTE table in the other cache database. For the ASE sample databases, <TRADE DataBase> is rapt and <QUOTE DataBase> is rapq.





Copyright © 2005. Sybase Inc. All rights reserved. Moving the ASE scripts to the server

View this book as PDF