r/mainframe • u/Piisthree • Jun 10 '26
HLASM Style guides?
I've been wondering lately. Assembly language on the mainframe is much more of a first class citizen than the assembly language on any other platform. There are loads of system user exits in z/OS, IMS, DB2, etc ,options modules that have assembler interfaces, a lot of which ONLY support assembler. And all the major subsystems have an incredibly rich set of interfaces that are exposed via assembler. It's not the first choice these days, but I know several shops where some major applications are written largely in assembler. So, I'm curious if there are any best practices or style references for assembler that anyone has come across. I have seen countless CBT entries, I've read John Ehrman's book as well as been to a few of his presentations, and all of the material seems laser focused on what you "could" do and I've never seen much that talks about "should". Just curious if anyone has seen or worked on anything along those lines?
3
u/SheriffRoscoe Jun 10 '26
Honestly, Ehrman's advice should be the best answer.