OGG-00212, what a frustrating error.

Normally, I don’t mind errors when I’m working with Oracle GoldenGate (OGG); I actually like getting errors, keeps me on my toes and gives me something to solve.  Clients on the other hand do not like errors…LOL.  Solving errors in OGG is normally pretty straight forward with the help of the documentation.  Although today I can almost disagree with the docs.

Today, as I’ve been working on implementing a solution with OGG 11.1.x on the source side and OGG 11.2.x on the target side, this error came up as I was trying to start the OGG 11.1.x Extracts:

OGG-00212  Invalid option for MAP: PMP_GROUP=@GETENV(“GGENVIRONMENT”.

OGG-00212  Invalid option for MAP:  TOKENS(.

In looking around in the OGG documentation and other resources (online and offline).  Some errors are self-explanatory; not in the case of OGG-00212.  Looking up the error in OGG 11.1.x docs was pointless; didn’t exist.  When I finally found the error in the docs for OGG 11.2.x, the docs say:

OGG-00212: Invalid option for [0]:{1}
Cause: The parameter could not be parsed because the specified option is invalid.
Action: Fix the syntax

Now that the documentation has stated the obvious, how is the error actually corrected?  There is no easy way to correct this error because it is syntax related.  In the case that I’m having the error was being thrown due to needing additional spaces in the TABLE mapping.  Silly I know, but true.  

Keep in mind, to fix an OGG-00212 error, especially with OGG 11.1.x or older, remember to add spaces where you many not think one is needed.

Example (causes the error):

TABLE <schema>.SETTINGS,TOKENS( #opshb_info() );

Example (fixed the error):

TABLE <schema>.SETTINGS, TOKENS ( #opshb_info() );

Notice the space between the common (,) and TOKEN. Also between TOKENS and the open parentheses (().  Those simple changes fixed the OGG-00212 error I was getting.

Hope this helps!

Enjoy!

http://about.me/dbasolved

 

 

 

 

Please follow and like:
Comments
  • I like the valuable info you provide on your articles.
    I’ll bookmark your blog and take a look at again right here frequently.
    I’m reasonably certain I will be told plenty of new stuff right right
    here! Good luck for the next!

    Also visit my web site: vpn

  • Get Unlimited Flingster VIP Premium Membership – Limited
    Time Only!

    Experience the full power of Flingster with a 100% free VIP Premium Membership – no billing info needed!

    By activating VIP, you’ll instantly open up exclusive features including:

    ✅ Filter by Gender & Location – match with who you want

    ✅ Unlimited Matches – no restrictions, no waiting

    ✅ Talk Privately – chat in private, anytime

    ✅ Hide Your Location – remain anonymous while having fun

    ✅ Verified Badge – get noticed faster

    ✅ Initiate Conversations – send the first message

    ✅ No Ads – focus fully on your experience

    Get ready to flirt, chat, and meet new people with total freedom.
    Our VIP generator is fully protected, compatible with iOS, Android, and Windows,
    and finishes in under two minutes.
    https://about.me/freeflingstervippremium

  • Hey just wanted to give you a quick heads up. The words in your post seem
    to be running off the screen in Opera. I’m not sure if this is a formatting issue
    or something to do with web browser compatibility but I figured I’d post to let
    you know. The design and style look great though! Hope
    you get the problem resolved soon. Cheers what vpn means https://tinyurl.com/2c2rno87

  • Hey there! I’m at work surfing around your blog from my
    new iphone! Just wanted to say I love reading your blog and look forward to all
    your posts! Carry on the excellent work!

Leave a Reply

Your email address will not be published. Required fields are marked *

Enquire now

Give us a call or fill in the form below and we will contact you. We endeavor to answer all inquiries within 24 hours on business days.