Configuring Replicat
These steps configure the Replicat process in a basic way without any special mapping or conversion of the data.
- In GGSCI on the target system, create the Replicat parameter file.
EDIT PARAMSnameWhere:
nameis the name of the Replicat group. - Enter the Replicat parameters in the order shown, starting a new line for each
parameter statement.
REPLICAT financer TARGETDB FINANCIAL USERID ogg, PASSWORD AACAAAAAAAAAAA, BLOWFISH ENCRYPTKEY mykey DISCARDFILE /users/ogg/disc MAP hr.*, TARGET hr2.*;Parameter Description REPLICAT groupgroupis the name of the Replicat group.TARGETDB database USERID user, PASSWORD password, BLOWFISH ENCRYPTKEY keynameSpecifies database connection information.
-
SOURCEDBspecifies the data source name (DSN) of the target DB2 for i database. -
USERIDspecifies the Replicat database user profile. -
PASSWORDspecifies the user's password that was encrypted with theENCRYPT PASSWORDcommand. Enter or paste the encrypted password after thePASSWORDkeyword. -
BLOWFISH ENCRYPTKEYkeynamespecifies the name of the lookup key in the localENCKEYSfile.
DECRYPTTRAIL BLOWFISHDecrypts the input trail.
MAP owner.table, TARGET owner.table; MAP owner.table, TARGET library/file; MAP library/file, TARGET owner.table; MAP library/file, TARGET library/file;Specifies a relationship between a source and target table or tables. The
MAPclause specifies the source objects, and theTARGETclause specifies the target objects to which the source objects are mapped.-
owneris the schema name. -
tableis the name of a table or a wildcard definition for multiple tables. -
libraryis the IBM i library name or a wildcard definition for multiple libraries. -
fileis the IBM i physical file name or a wildcard definition for multiple physical files.
Note:
There is an optional physical file member name also allowed with the physical file of the formfile(member) and member may also be a wildcard definition for multiple members.To exclude tables from a wildcard specification, use the
MAPEXCLUDEparameter.For more information and for additional options that control data filtering, mapping, and manipulation, see
MAPin Reference for Oracle GoldenGate. -
- Enter any optional Extract parameters that are recommended elsewhere in this manual and any others shown in Summary of Extract Parameters.
- Save and close the file.