Real programmers do not need comments, they take extra time away from the coding. I made sub routines for the new Cobol code and only added comments to the sub headers as to what I want to do. My memory was about a thousand times better at that time. No long mean fully names for variables. Using debug, I was able to use canned input values and manually associate them with the self generated variable names (I believe I used A01 - Z99). Since most of the Cobol programs were from the 60s, I was able to restructure many of them for quicker and more efficient processing along with adding tons of comments over time. It was a king of the hill time.JPG40504 wrote:Impressive task!
Were you able to retrieve the comments also!:D
Bragging time: 2,000 lines of high level code (LOC) a year was the accepted output per programmer in the 80s and 90s. I could program and test 2,000 LOC many time within 1 week. So I have a lot of free time to play with other programs and the operating system for both the IBM and Siemens computers than Munich maintained and owned. When I retired at Siemens, I had submitted the code for about 20% of their 20 million LOC telephone switch program and had instructed programmers for a lot of the remaining code. In the late 90s, Siemens decided to start charging programmers and departments for their run time on the main IBM370. When checking the past years use, it was found that my operating and batch and simulation testing programs was averaging 98% of the IBM time over a 24 hr period. I made sure everyone else still got their time allotment. I would be operating dozens of programs at the same time and would analyze the results each morning. So I was given a very small time box to operate my programs. I only took me a few week to generate some phantom programmers and get them in the system and access to the IBM and charge another dept. for the time. I had hacked into all the Siemens management programs and could change any field that need changing without getting caught. I had spy programs on all the Siemens computers to let me know if anyone was looking at anything I was doing. I kept around 10 phantom programmers busy submitting batch and simulator testing jobs to the IBM. I was only caught weeks before I retired.
I wrote a lot of procedures with self healing code, similar to AI coding. When the code detected a error, It would bypass the procedure while the procedure was being tested with min and max values. Depending on the results, Parts of the code was parched around and a call to several real time debugging modules I owned to further determine why the procedure was not working. I could even patch in another procedure call to replace the procedure with the error. This is without telling anyone other than my collection files. Siemens only found this code the last month or so that I had left. Some programmers in Munich headquarters found a lot of the unique code I was using along with many hard patches I made to the operating system code that Munich owned and maintained. They had said that line programmers could not get to or touch their secure operating system without them knowing. This occurred over a later 15 year period too.