I had lots of fun this morning on IBM’s COBOL FRIDAY with Sudharsana Srinivasan and Paul Newton. I talked mostly about COBOL intrinsic functions, but we also considered what to do if you wanted to write something that sort of works like a user-defined function. Enterprise COBOL doesn’t support user-defined functions just yet, but it’s in the works. My work-around involves writing nested programs. You can watch the webcast here if you are interested. I also posted some sample code at the Enterprise COBOL tab that goes along with the talk. The STACKY program does dynamic allocation and creates a stack for storing pointers to records. It uses a nested programming style to create the data structure.
IBM’s COBOL FRIDAY WEBCAST
Categories:
Related Posts
Converting to PDFsConverting to PDFs
I used a good chunk of December organizing all the assembler materials I created over the years into a book format. I’ve been writing new ...
Code ArcheologyCode Archeology
It’s easy to spot the thinking of long-forgotten legacy assembler programmers in the production code that runs on today’s systems. ...
Writing Reentrant Assembler CodeWriting Reentrant Assembler Code
Some programs run so often we take special efforts to make sure that only one copy of the program needs ...