Accurate Program References
May 7, 2008 Ted Holt
|
I came across a situation recently that I thought some of you might find of interest. It has to do with program references (i.e., which objects a program uses) and conditional compilation. If you use a documentation package, whether homegrown or commercial, you may rely on program references without being aware of it. Here is my situation. As part of a conversion project, I have an RPG program that uses conditional compilation directives to select one of two SQL commands, like this:
D zKey s 3a
D zData s 5a
/free
*inlr = *on;
/if defined(SomeCondition)
exec sql
select key, |


