Goldengate - generating RSID$
We are replacing CDC streams with goldengate. We need to generate an equivalent to RSID$ provided by Streams CDC.
Currently RSID is being populated as a concatenation of File Id and the RBA number. File Id can have a value up to 6 digits, while RBA can have a value up to 9 digits. So, the combined value will have a maximum length of 15 digits. Our problem with this approach is the length is variable yielding RSID that numerically is smaller within a given CSCN. I requested our GG folks pad the RSID to 15 digits with leading zeroes to resolve the issue. I am being told this must be done outside GG.