I worked on AS/400 for quite a while. Really enjoyed it.
Updating old RPG terminal based code to Java web based stuff was interesting. Simple CRUD interfaces port easily.
And once you're running Java stuff on OS/400 it's also easy to port to the linux environment. And from there is just an argument over databases to bye-bye proprietary hardware.