Is that a livable wage there?
In the UK, £20k is below average for a junior programmer straight out of university. For example, we've just employed such a person for £25k, in a PHP role.
However, the jump to £40k, provided that the qualifying period wasn't too long, would shortcut several years of career development for a recent graduate. I'd say that's a good deal, except that I'd be concerned about the long term prospects for a COBOL programmer in the UK.
(Being paid to learn a skill from scratch does sound pretty objectively good, though.)