Patent ID: 6775827
Filing Date: 2004-08-10
Classification: G06F

Abstract:
An automated computer-implemented method for generating an audit record of a computer program while the computer program is executing, said computer program having an original source program comprising a plurality of source statements written in a predetermined source language, the method comprising the steps of:selecting an audit profile, the audit profile being defined by at least one field name; examining each one of the source statements for the presence of the at least one field name; creating an audit statement in the source language of the computer program corresponding to each one of the source statements in which the at least one field name is present; inserting each created audit statement into the original source program proximate to the corresponding source statement to form an expanded source program, said audit statement being inserted prior to the corresponding source statement when the corresponding source statement is a branching statement; and compiling or interpreting said expanded source program to form an expanded computer executable program, wherein said audit statement causes said computer executable program to output the audit record, in real time, during the time that said computer executable program is executing, said audit record comprising the at least one field name and a value of the field associated with the at least one field name corresponding to each one of the source statements in which the at least one field name is present.