in reply to Programming Brain-Cramp

Man oh man - where do I begin? In 25 years of programming one accumulates lots of "brain fade" cases. One of the best - and earliest - was berating another IBM OS/370 assembler programmer about his "forgetfullness" in omitting the standard "restore register contents" macro call at the end of a subprogram.

Then he told me to look at the only executable line in the subroutine - it was a SVC (supervisor call) to generate a system abend - to produce a full core dump when requested. So the routine never even got to return to the calling program.

Self exits stage left, with a red face.