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, a index including a process identifier and an event associated with a child process;
placing the child process in a wait state;
signaling, by the COBOL program, the child process to run using the process identifier and the event associated with the child process.
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.
19 Citations
54 Claims
-
1. A method for enabling events in a COBOL program, the method comprising:
-
maintaining, in a COBOL program, a index including a process identifier and an event associated with a child process;
placing the child process in a wait state;
signaling, by the COBOL program, the child process to run using the process identifier and the event associated with the child process. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. The method of 13, further comprising:
-
providing a COBOL technical layer having a coordination module operable to coordinate signaling the plurality of child processes;
registering, by the plurality of child processes, with the COBOL technical layer;
signaling, by the COBOL program, the COBOL technical layer to run one or more of the plurality of child processes using the process identifiers and events associated with the child processes; and
coordinating, by the coordination module of the COBOL technical layer, the signaling of the child processes. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A system for coordinating processing in COBOL programs, comprising:
-
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 maintaining a state sharable between the first and second COBOL programs to coordinate the processing of the first and second routines. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A method for employing semaphores to coordinating processing in COBOL programs, comprising:
-
processing by a first COBOL program to a shared resource;
processing by a second COBOL program to the shared resource; and
maintaining a state sharable between the first and COBOL programs to coordinate the processing by of the first and second COBOL programs to the shared resource. - View Dependent Claims (34, 35, 36)
-
-
37. A method of employing threads in COBOL programs, comprising:
-
outputting by a first COBOL program to a block of shared memory;
outputting by a second COBOL program to the block of share memory;
writing, by a COBOL routine, the output of the first COBOL program to a shared resource; and
writing, by the COBOL routine, the output of the second COBOL program to the shared resource. - View Dependent Claims (38, 39, 40, 41, 42, 43, 44, 45, 46)
-
-
47. A method for a COBOL program to use signal handlers, the method comprising:
-
registering, by a COBOL language program, a signal handler with an operating system, the signal handler associated with an event; and
executing, by the operating system, the signal handler on the event occurs. - View Dependent Claims (48, 49, 50, 51, 52, 53)
-
-
54. A system for coordinating processing in COBOL, comprising:
-
a COBOL program desiring to process a first and second tasks to a shared resource;
a module in communication with the COBOL program and maintaining a shared state between the first and second tasks to coordinate processing to the shared resource, the COBOL program and module operating in the same runtime environment.
-
Specification