Just a question about general terminology. A subroutine as I understand it is basically a packaged subset of instructions that a routine runs to obtain a specific result that it needs for a larger process.
What if you're studying a routine (or program, procedure, what-have-you) and discover that it's actually part of a larger routine that you didn't know was there? Obviously you can say it's a subroutine of the larger routine, but is there a specific term to label a larger routine?
Would it be a superroutine? Seems natural, but Google didn't provide many suggestions.