CAST does a pretty decent job of calculating Impact Analysis on the COBOL code, including calls to DB2. This works well even when a flat variable is used to determine which program is called next. (So, great job on that piece!)
We have one application that is determining the program flow programmatically, but not always in a flat variable. This one application is creating an array of the next several programs to call - a call stack if you will. I can manually trace through the code logic and determine what the array will contain, but CAST doesn't do anything with the array variable. Is this something that might be possible for CAST to pickup? I'm not sure how widespread this programming practice really is either. I can provide a sample program if it might be possible. If it is possible, it would really help us with this application.