It's a fairly common expression here, perhaps a bit outdated, but I enjoy old slang, dagnabbit! I believe it's Jewish? Where are you from?

Edit: looked it up, it's actually German. Duh.