$ ! Copyright © Oracle Corporation 1995. All Rights Reserved. $ set verify $! $! SQL_DIST_TRANS.COM $! $! This command procedure compiles the sample programs and processes the $! module language module for the SQL_DIST_TRANS.C application. $! $! This application uses two copies of the Oracle Rdb sample database, PERSONNEL. $! It also requires the DBMS sample PARTS database and a CDD dictionary. $! $! Before running this application, you should create the sample $! PERSONNEL database as follows: $! $! $ @RDM$DEMO:PERSONNEL $! $! This procedure makes a copy of the PERSONNEL database $! called PERSONNEL1. $! $ copy personnel.rdb personnel1.rdb $ copy personnel.snp personnel1.snp $! $! Define logical names for PERSONNEL, PERSONNEL1 and the DBMS $! PARTS database, as shown below. $! $ define 2pceast personnel1 $ define 2pcwest personnel $! $! Define the logical name 2pcdbms as the DBMS sample database, PARTS. $! For example: $! $! $ DEFINE 2PCDBMS USER1:[DBMS_EXAMPLES]PARTS $! $! Substitute the anchor of the dictionary for disk:[directory] and $! remove the comment character (!) from the following command line: $! $! DEFINE CDD$DEFAULT disk:[directory] $! $macro :== macro/debug $SCC :== $SQL$PRE/CC $sqlmod:== $sql$mod $sqlmod sql_dist_trans_c/context=all $cc sql_dist_trans/debug/noop $scc rdb_add_west/debug/noop $cc rdb_add_east/debug/noop $scc transfer_west/debug/noop $cc transfer_east/debug/noop $scc rdb_del_east/debug/noop $cc rdb_del_west/debug/noop $scc sql_dist_trans_error/debug/noop $dbms: $fort/dml dbms_delete/debug/noop $fort/dml dbms_insert/debug/noop $! $DEFINE LNK$LIBRARY SYS$LIBRARY:VAXCRTL.OLB $link sql_dist_trans,rdb_add_west,transfer_west,rdb_del_east,- dbms_delete,rdb_add_east,transfer_east,rdb_del_west,dbms_insert,- sql_dist_trans_c,sql_dist_trans_error,Sql$user/lib,dbmdml/opt $set noverify $exit