Patent ID: 6526569
Filing Date: 2003-02-25
Classification: G06F

Abstract:
A method of operating a computer to generate an object class definition form a procedural program having a main program and a plurality of procedures that are to be converted to methods in the object class definition, said method comprising the steps of:determining a set of procedures, said set including at least one of said procedures; storing the identity of at least one of said procedures in said set in said computer; and generating an object definition having a main method that reproduces the behavior exhibited by said procedural program when control was transferred to an entry point in said main program when said main method is invoked in an object of said object class; wherein said procedural program comprises a COBOL program and wherein said step of storing the identity of said procedures comprises storing first, second, and third names for each procedure, said first name comprising the identity of the label that marks the start of the procedure, said second name comprising the name of the last label within the range of the procedure, and said third name comprising the name of the label following the last label within the range of the procedure.