can you effectively learn COBOL without having access to mainframes/the hardware it usually runs on? I know that there are COBOL envs that can run on all major operating systems for practice. But has anyone been able to learn it at home per say and then transitioned to working on production COBOL codebases?
I can't answer your last question, but I don't see why it wouldn't be possible. From what I've seen there are z/OS emulators that can be used for practice, so it wouldn't be far fetched to transition to real hardware from there.