I am exploring a legacy database system and have very little knowledge of its internals. I would like to find all the stored procedures that invoke another stored procedure
Try This only one statement can solve your problem..
SELECT OBJECT_DEFINITION(OBJECT_ID(N'dbo.myStoredProc'))
or
SELECT @objname= OBJECT_DEFINITION(OBJECT_ID(N'dbo.myStoredProc')) print @objname