I learned COBOL (a adapted heavily scripted version of that) on a AS/400 used to control automotive operations in a factory.