# US 2012/0254294 A1 · Mainframe Web Client Servlet

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0254294 A1
- Document ID: US20120254294A1
- Status: Published application
- Kind: A1
- Application number: 13/079,395
- Filed: 2011-04-04
- Published: 2012-10-04
- Earliest claimed: 2011-04-04
- Assignees: International Business Machines Corporation
- Inventors: Jose H. Cifuentes, JR.; Anuja Deedwaniya; Nina J. Goradia; Michael P. Kasper; Steven G. Kavka; Gary S. Puchkoff
- Web page: https://patentgrep.com/patent/US20120254294A1

## CPC

- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes receiving a request for a time sharing option (TSO) address space from a client application, reserving a TSO address space in a processor, initializing a interactive system productivity facility (ISPF) session in the TSO address space, initializing a message queue associated with the TSO address space and the ISPF session, generating a unique key associated with the client application, the TSO address space, the ISPF session, and the message queue, and entering the unique key and the association of the unique key with the client application, the TSO address space, the ISPF session, and the message queue into a hash map entry.

## Claims

### Claim 1

A method comprising:
receiving a request for a time sharing option (TSO) address space from a client application;
reserving a TSO address space in a processor;
initializing a interactive system productivity facility (ISPF) session in the TSO address space;
initializing a message queue associated with the TSO address space and the ISPF session;
generating a unique key associated with the client application, the TSO address space, the ISPF session, and the message queue; and
entering the unique key and an association of the unique key with the client application, the TSO address space, the ISPF session, and the message queue into a hash map entry.

### Claim 2 (depends on 1)

The method of claim 1, wherein the method further comprises:
determining whether the message queue includes a message;
determining whether the TSO address space exists responsive to determining that the message queue does not include a message;
sending a message indicative of an error to the client application responsive to determining that the TSO address space does not exist; and
sending a message indicative of a time out to the client application responsive to determining that the TSO address space does exist.

### Claim 3 (depends on 1)

The method of claim 1, wherein the method further compromises:
determining whether the message queue includes at least one TSO message;
arranging the at least one TSO message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes at least one TSO message; and
sending the at least one TSO message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 4 (depends on 1)

The method of claim 1, wherein the method further comprises:
determining whether the message queue includes an ISPF message;
arranging the ISPF message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes an ISPF message; and
sending the at least one ISPF message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 5 (depends on 1)

The method of claim 1, wherein the method further comprises:
receiving a request for data from the client application that includes the unique key;
associating the request for data with the message queue;
determining whether the message queue includes a message with the unique key;
determining whether the TSO address space associated with the unique key exists responsive to determining that the message queue does not include a message with the unique key;
sending a message indicative of an error to the client application responsive to determining that the TSO address space does not exist; and
sending a message indicative of a time out to the client application responsive to determining that the TSO address space does exist.

### Claim 6 (depends on 1)

The method of claim 1, wherein the method further comprises:
receiving a request for data from the client application that includes the unique key;
associating the request for data with the message queue;
determining whether the message queue includes a message with the unique key;
arranging the message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes the message; and
sending the message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 7 (depends on 1)

The method of claim 1, wherein the method further comprises:
receiving a request to send data from the client application, the request including the unique key;
determining whether the request to send data from the client application includes a TSO message;
formatting the request from the client application into a TSO message format responsive to determining that the request includes a TSO message;
saving the formatted request in the TSO message format in the message queue associated with the unique key.

### Claim 8 (depends on 7)

The method of claim 7, wherein the method further comprises:
determining whether the request from the client application includes an ISPF message;
formatting the request from the client application into a ISPF message format responsive to determining that the request includes a ISPF message;
saving the formatted request from the client application in the ISPF message format in the message queue associated with the unique key.

### Claim 9

A method comprising:
receiving a request to interrupt a process from a client application;
retrieving a unique key from the request;
identifying a time sharing option (TSO) address space of a processor associated with the unique key;
determining whether the request includes a request to interrupt a process in the TSO address space; and
calling the TSO address space with an interrupt instruction responsive to determining that the request includes a request to interrupt the process in the TSO address space.

### Claim 10 (depends on 9)

The method of claim 9, wherein the method further comprises:
determining whether the call to the TSO address space with the interrupt instruction was successful; and
determining whether the message queue includes at least one message responsive to determining that the call to the TSO address space with the interrupt instruction was successful;
arranging the at least one message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes at least one TSO message; and
sending the at least one message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 11 (depends on 9)

The method of claim 9, wherein the method further comprises:
determining whether the request includes a request to interrupt a process in an ISPF associated with the TSO address space; and
calling the ISPF with an interrupt instruction responsive to determining that the request includes a request to interrupt the process in the ISPF.

### Claim 12 (depends on 11)

The method of claim 11, wherein the method further comprises:
determining whether the call to the ISPF with the interrupt instruction was successful;
determining whether the message queue includes an ISPF message responsive to determining that the call to the ISPF with the interrupt instruction was successful;
arranging the ISPF message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes the ISPF message; and
sending the ISPF message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 13

A system comprising:
a processor operative to receive a request for a time sharing option (TSO) address space from a client application, reserve a TSO address space, initialize a interactive system productivity facility (ISPF) in the TSO address space, initialize a message queue associated with the TSO address space and the ISPF, generate a unique key associated with the client application, the TSO address space, the ISPF, and the message queue, and enter the unique key and an association of the unique key with the client application, the TSO address space, the ISPF, and the message queue into a hash map entry.

### Claim 14 (depends on 13)

The system of claim 13, wherein the processor is further operative to determine whether the message queue includes a message, determine whether the TSO address space exists responsive to determining that the message queue does not include a message, send a message indicative of an error to the client application responsive to determining that the TSO address space does not exist, and send a message indicative of a time out to the client application responsive to determining that the TSO address space does exist.

### Claim 15 (depends on 13)

The system of claim 13, wherein the processor is further operative to determine whether the message queue includes at least one TSO message, arrange the at least one TSO message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes at least one TSO message, and send the at least one TSO message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 16 (depends on 13)

The system of claim 13, wherein the processor is further operative to determine whether the message queue includes an ISPF message, arrange the ISPF message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes an ISPF message, and send the at least one ISPF message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 17 (depends on 13)

The system of claim 13, wherein the processor is further operative to receive a request for data from the client application that includes the unique key, associate the request for data with the message queue, determine whether the message queue includes a message with the unique key, determine whether the TSO address space associated with the unique key exists responsive to determining that the message queue does not include a message with the unique key, send a message indicative of an error to the client application responsive to determining that the TSO address space does not exist, and send a message indicative of a time out to the client application responsive to determining that the TSO address space does exist.

### Claim 18 (depends on 13)

The system of claim 13, wherein the processor is further operative to receive a request for data from the client application that includes the unique key, associate the request for data from the client application with the message queue, determine whether the message queue includes a message with the unique key, arrange the message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes the message, and send the message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 19 (depends on 13)

The system of claim 13, wherein the processor is further operative to receive a request to send data from the client application, the request to send data from the client application including the unique key, determine whether the request to send data from the client application includes a TSO message, format the request to send data from the client application into a TSO message format responsive to determining that the request to send data from the client application includes a TSO message, save the formatted request in the TSO message format in the message queue associated with the unique key.

### Claim 20 (depends on 19)

The system of claim 19, wherein the processor is further operative to determine whether the request to send data from the client application includes an ISPF message, format the request to send data from the client application into a ISPF message format responsive to determining that the request to send data from the client application includes a ISPF message, save the formatted request to send data from the client application in the ISPF message format in the message queue associated with the unique key.

### Claim 21

A system comprising:
a processor operative to receive a request to interrupt a process from a client application, retrieve a unique key from the request, identify a time sharing option (TSO) address space associated with the unique key, determine whether the request includes a request to interrupt a process in the TSO address space, and call the TSO address space with an interrupt instruction responsive to determining that the request includes a request to interrupt the process in the TSO address space.

### Claim 22 (depends on 21)

The system of claim 21, wherein processor is further operative to determine whether the call to the TSO address space with the interrupt instruction was successful; and determine whether the message queue includes at least one TSO message responsive to determining that the call to the TSO address space with the interrupt instruction was successful, arranging the at least one TSO message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes at least one TSO message, and sending the at least one TSO message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.

### Claim 23 (depends on 21)

The system of claim 21, wherein processor is further operative to determine whether the request includes a request to interrupt a process in an interactive system productivity facility (ISPF) associated with the TSO address space, and call the ISPF with an interrupt instruction responsive to determining that the request includes a request to interrupt the process in the ISPF.

### Claim 24 (depends on 23)

The system of claim 23, wherein processor is further operative to determine whether the call to the ISPF with the interrupt instruction was successful, determine whether the message queue includes an ISPF message responsive to determining that the call to the ISPF with the interrupt instruction was successful, arrange the ISPF message into a Java script object notation (JSON) structure with the unique key associated with the client application and the message queue responsive to determining that the message queue includes the ISPF message, and send the ISPF message arranged into the JSON structure with the unique key associated with the client application and the message queue to the client application.
