Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

COBOL Programming :: RE: Cobol list of programs being called

$
0
0
Author: Phrzby Phil
Posted: Tue Nov 01, 2016 8:48 pm (GMT 5.5)

Years ago as a member of the change control team at a regional brokerage, I wrote a COBOL system to produce a cross reference of every static and "most" possible dynamic program calls in all of the COBOL programs.

The system identified which programs had been modified in Librarian the previous cycle, then compiled each (to force inclusion of copybooks), and analyzed the compiled listing.

Static calls are trivial.

Dynamic calls using variables whose values were set in either VALUE clauses or MOVE verbs were identified.

There is no way, however, to identify dynamic calls using variables whose values are set in more complicated ways (e.g., via substrings or non-elementary variables).

Nonetheless, since the impossible cases were unusual, we did identify most.

Hi back at ya Bill. I'm retired now, but enjoy reviewing this most excellent forum. Regards to all.
_________________
World Peace Through Frisbee.


Viewing all articles
Browse latest Browse all 8500

Trending Articles