×

System and method for asynchronous processing in COBOL

  • US 8,127,308 B1
  • Filed: 07/25/2008
  • Issued: 02/28/2012
  • Est. Priority Date: 10/30/2003
  • Status: Active Grant
First Claim
Patent Images

1. A system for employing semaphores or mutexes to coordinate processing in COBOL programs, comprising:

  • a first COBOL program recorded on a non-transitory computer-readable medium having a first routine for processing;

    a second COBOL program recorded on a non-transitory computer-readable medium having a second routine for processing; and

    a COBOL technical layer recorded on a non-transitory computer readable medium callable by the first and second COBOL programs, the COBOL technical layer maintaining a state sharable between the first and second COBOL programs to coordinate the processing of the first and second routines, wherein the COBOL technical layer coordinates the processing of the first and second routines through a bit level call to an operating system, and wherein the COBOL technical layer further creates a semaphore, obtains an identifier identifying the semaphore, queries to determine whether the state indicates that the semaphore is locked, changes the state to indicate that the semaphore is locked, changes the state to indicate that the semaphore is unlocked, obtains a process identification number to determine a process associated with the semaphore, and removes the semaphore from a computer system.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×