Both are same meaning one is used in Cobol-II other in Cobol-I. According to syntax INSPECT identifire-1 TALLYING identifier-2 FOR ALL identifire BEFORE identifire. ...
If the main module is calling submodule statically then the sub module's code will be copied into the main module in the comiled version but this wont happens in DYNAMIC calls case.Hope it will help.Regards,Ambadi. Ramesh.