MVS/ESA message transport system using the XCF coupling facility
First Claim
1. An MVS/ESA computer facility, comprising:
- an MVS/ESA operating system including a plurality of MVS tasks and a XCF facility;
means for registering in a directory a request to send messages from one or more tasks to one or more groups;
means for registering in a directory a request to receive messages from one or more tasks from one or more groups;
means for receiving a message from a first MVS task designating a group and selecting one or more eligible tasks from the group for receiving the message;
means for sending the message through the XCF facility to each selected eligible task; and
receiving means in each selected eligible task for;
(a) asynchronously receiving the message at the selected eligible task from the first MVS task through the XCF facility;
(b) asynchronously queuing any message received for that selected eligible task; and
(c) notifying the selected eligible task that a message has arrived and, when the selected eligible task is sleeping while waiting for a message, awakening the sleeping task.
2 Assignments
0 Petitions
Accused Products
Abstract
An asynchronous transport mechanism is provided for use between two or more MVS/ESA tasks on the same or different platforms using the IBM XCF facility, a global directory and a message queuing if tasks are not currently waiting for the messages arrival.
A message sending task specifies a named task, which is the name of a group comprised of one or more interested message receiving tasks, that can have access to the message. The sending task is not aware of the number of receiving tasks and is only responsible for registering with a global directory and sending a single message. The message receiving task is not aware of the number of sending tasks and is only responsible for registering with a global directory and receiving a message.
Two messaging options are provided to allow the task to emulate two popular types of functions. The first option allows messages to be mirrored to two or more tasks for reliability. If one task abnormally terminates the others will have duplicate data and hence continue processing without interruption. Option two allows one task to receive all the messages until it terminates. A second named task that has been in standby mode would then automatically pick up the messages and takeover processing without any message loss.
21 Citations
15 Claims
-
1. An MVS/ESA computer facility, comprising:
-
an MVS/ESA operating system including a plurality of MVS tasks and a XCF facility; means for registering in a directory a request to send messages from one or more tasks to one or more groups; means for registering in a directory a request to receive messages from one or more tasks from one or more groups; means for receiving a message from a first MVS task designating a group and selecting one or more eligible tasks from the group for receiving the message; means for sending the message through the XCF facility to each selected eligible task; and receiving means in each selected eligible task for; (a) asynchronously receiving the message at the selected eligible task from the first MVS task through the XCF facility; (b) asynchronously queuing any message received for that selected eligible task; and (c) notifying the selected eligible task that a message has arrived and, when the selected eligible task is sleeping while waiting for a message, awakening the sleeping task. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for sending messages in a MVS/ESA computer facility having an MVS/ESA operating system including a plurality of MVS tasks and a XCF facility, comprising the steps of:
-
registering in a directory a request to send messages from one or more tasks to one or more groups; registering in a directory a request to receive messages from one or more tasks from one or more groups; receiving a message from a first task designating a group and selecting one or more eligible tasks from the group for receiving the message; sending the message through the XCF facility to each selected eligible task; and at each selected eligible task, (a) asynchronously receiving the message at the selected eligible task from the first MVS task through the XCF facility; (b) asynchronously queuing any message received for that selected eligible task; and (c) notifying the selected eligible task that a message has arrived and, when the selected eligible task is sleeping while waiting for a message, awakening the sleeping task. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An article of manufacture comprising a program storage medium readable by a computer and embodying one or more instructions executable by the computer to perform method steps for send messages in a MVS/ESA computer facility having an MVS/ESA operating system including a plurality of MVS tasks and a XCF, facility, the method comprising the steps of:
-
registering in a directory a request to send messages from one or more tasks to one or more groups; registering in a directory a request to receive messages from one or more tasks from one or more groups; receiving a message from a first MVS task designating a group and selecting, one or more eligible tasks from the group for receiving the message; sending the message through the XCF facility to each selected eligible task; and at each selected eligible task, (a) asynchronously receiving the message at the selected eligible task from the first MVS task through the XCF facility; (b) asynchronously queuing any message received for that selected eligible task; and (c) notifying the selected eligible task that a message has arrived and, when the selected eligible task is sleeping while waiting for a message, awakening the sleeping task. - View Dependent Claims (12, 13, 14, 15)
-
Specification