Configuring Replication Server for Oracle replication

This section describes the configuration tasks for configuring Replication Server for Oracle.

StepsApplying heterogeneous datatype support (HDS) scripts to RSSD

Prepare the Replication Server RSSD for replication to an Oracle database. To apply HDS support scripts to RSSD:

  1. Set the environment variables.

  2. Change to this directory:

  3. Load the following scripts into the RSSD:

    isql -U SAMPLE_RS_RSSD_prim -P SAMPLE_RS_RSSD_prim_ps –SSAMPLE_RS_ERSSD
    –ihds_clt_ase_to_oracle.sql -DSAMPLE_RS_ERSSDisql -U SAMPLE_RS_RSSD_prim -P SAMPLE_RS_RSSD_prim_ps –SSAMPLE_RS_ERSSD
    –ihds_oracle_udds.sql -DSAMPLE_RS_ERSSDisql -U SAMPLE_RS_RSSD_prim -P SAMPLE_RS_RSSD_prim_ps –SSAMPLE_RS_ERSSD
    –ihds_oracle_funcstrings.sql -DSAMPLE_RS_ERSSD
    

    NoteThe message “ASA -157 cannot convert to a timestamp” is displayed. You can ignore this message.

  4. Change to this directory:

  5. Load the following script into the RSSD:

    isql -U SAMPLE_RS_RSSD_prim -P SAMPLE_RS_RSSD_prim_ps –SSAMPLE_RS_ERSSD
    –ihds_oracle_new_udds.sql -DSAMPLE_RS_ERSSD
    
  6. Shut down Replication Server:

    isql –Usa –P –SSAMPLE_RS
    shutdown
    go
    
  7. Navigate to this directory:

  8. Run the RUN_SAMPLE_RS.bat file on Windows, and the RUN_SAMPLE_RS script on UNIX and Linux, to start the SAMPLE_RS Replication Server.