System and method for asynchronous processing in COBOL
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a method for enabling events in a COBOL program, including maintaining, in a COBOL program, a index including a process identifier and an event associated with a child process. The method includes placing the child process in a wait state and signaling, by the COBOL program, the child process to run using the process identifier and the event associated with the child process. A system for coordinating processing in COBOL programs is also provided. The system includes a first COBOL program having a first routine for processing, a second COBOL program having a second routine for processing, and a module callable by the first and second COBOL programs. The module maintains a state sharable between the first and second COBOL programs to coordinate the processing of the first and second routines.
-
Citations
35 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A system for enabling events in COBOL programs, comprising:
-
a child process recorded on a computer-readable medium that performs a process; a COBOL program recorded on a computer-readable medium having an index including a process identifier and an event associated with the child process, wherein the COBOL program initiates the child process, puts the child process in a wait state when initiated, and communicates the process identifier at an appropriate time, and wherein the COBOL program creates a system resource that is designated by a process identification of the COBOL program and gives the system resource to the child process using the process identifier of the child process; and a technical layer recorded on a computer-readable medium having a register including the process identifier and the event associated with the child process, wherein the technical layer signals the child process to run upon receiving the process identifier, wherein the child process takes the system resource from the COBOL program, and wherein the COBOL program gives and the child process takes the system resource synchronously such that the COBOL program completes giving the system resource prior to the child process taking the system resource. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
Specification