Patent ID: 7421705

Claim:
A method for enabling events in a COBOL program, the method comprising: maintaining, in a COBOL program, an index including a process identifier and an event associated with a child process; initializing, by the COBOL program, the child process; placing the child process in a wait state when the child process is initialized; signaling, by the COBOL program, the child process to run using the process identifier and the event associated with the child process; creating a system resource by the COBOL program; designating the system resource to a process identification of the COBOL program; giving the system resource from the COBOL program to the child process using the process identifier of the child process; taking the system resource by the child process from the COBOL program; and synchronizing such that the COBOL program completes giving the system resource prior to the child process taking the system resource.