Call-backs Simplify File IO
September 21, 2011 Bruce Guetzkow
Note: The code accompanying this article is available for download here. Writing subfile programs to display a list of data elements is a task most IBM i programmers have done countless times. It can be tedious and extremely repetitive, especially if you are listing information from the same file in multiple programs. Since the logic is nearly identical in all of those programs, wouldn’t it be great if we could put some or all of it into a service program that could be used in many places? The part of the process that is common to all of those |