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
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 ...
Standard Entry and Exit VideoStandard Entry and Exit Video
How do we get in and out of a program? I call it my standard entry and exit code, but ...
Elegant Machine Code:Elegant Machine Code:
... a series of blogs about solving problems with elegant, succinct assembler code - code that System z itself would ...
