My grandfather was programming for a similar length of time before he retired. He made his last money maintaining mainframe assembler and Cobol programs, though. (He jokingly described himself as a classical philologist for computer languages.)
I remember job ads looking for mainframe programmers of many stripes to maintain vintage systems, as many cobol and assembly and jcl professionals had retired. There is still a lot of it out there.