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
Techniques for Converting From Binary to Packed-DecimalTechniques for Converting From Binary to Packed-Decimal
If you are generating a binary result in a register and converting the result back to packed-decimal, you need to ...
Review an Instruction: AGFReview an Instruction: AGF
I’m creating new articles on my website in alphabetical order, and I’m on the A’s. There are numerous add instructions ...
Shifty ShiftsShifty Shifts
Perhaps you’re like me, and as a fledgling assembler programmer, you learned the Shift and Round Decimal instruction (SRP) from ...
