Using C Runtime Functions in COBOL: sleep()-ing and qsort()-ing
Hard to believe, but once I had an Operator complain to me about a looping batch job. When I looked into it, I found that the programmer had coded a loop around a COBOL ‘ACCEPT TIME’ comparing the seconds value with the previous seconds value waiting for it to increase. A classic busy wait. In… Read More »