I need to find out the sub modules that are getting executed from a maim module. The reason being based on various conditions one proggram calls various different modules. One way would be to give display statements.. But is there any wasy to find out with out doing code change?
Look at the source of the main module and determine which modules are being executed;
The information might be available via SMF records, but I'm not a MVS systems person....
What is the situation you are trying to resolve?