Blocks in Compile Unit

We all know how important buffer and transaction scope can be to the proper operation of an ABL program. We have COMPILE LISTING to show us these scopes, but many programmers are either unaware of the tool or seem to forget to use it to check their work. But, this information is critical to understanding many issues of many problems. Here is a program which starts with a particular FunctionalUnit, i.e., one menu selection or batch program which performs some function in the application, links to the main compile unit which is run to perform that function, and then follows the links to all of the compile units reached by those compile units. For each compile unit, it shows the blocks which either have transaction or buffer scope and what that scope is.

The report function and some sample output is provided.


AttachmentSize
BlocksInCU.p4.21 KB
blocks.txt6.62 KB