Skip to Main Content

GoldenGate

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Caturing SCN and RSN Using Token

559398Oct 20 2010 — edited Oct 22 2010
Hi,

I am trying to capture CSN and RSN in a token that will be used by flat file adapter. Each transaction needs to be written in flat file along with time stamp, transaction type, SCN and RSN. The extract is unable to capture SCN and RSN. Here's sample extract. Any pointers will be of great help:

EXTRACT EXTALL
USERID OGG, PASSWORD OGG
EXTTRAIL ./dirdat/ex
GETTRUNCATES
TABLE HR.test_seq, tokens (
TK-SCN = @getenv ("TRANSACTION" , "CSN"),
TK-RSN = @getenv ("TRANSACTION" , "RSN")
);

Thanks and rgds,
Avinash
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2010
Added on Oct 20 2010
3 comments
1,027 views