System for automated interface generation for computer programs operating in different environments
First Claim
1. An import utility for interfacing a COBOL program through a CICS transaction executing in a first program environment on a first computer device to a program specific to another program environment on a second computer device, said import utility comprising:
- (a) scanner means for scanning the CICS transaction for said COBOL program and producing a data description of said CICS transaction;
(b) parser means for parsing said data description into a corresponding token stream;
(c) importer means for importing said token stream and automatically generating a data model describing said CICS transaction in said another program environment, said data model including means for converting information between said CICS transaction and a program in said another program environment, and said data model being compatible for generating code for an invoking mechanism in a program for remotely invoking said CICS transaction from said another program environment on said second computer machine, without transforming CICS data in said first program environment.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention is directed to a system for for automated interface generation for computer programs operating in different environments. The system comprises a utility which imports a CICS COBOL transaction source file, parses the communication area of the CICS file, and generates modelling information. The modelling information represents the nature and structure of data in the CICS transaction source file, and is written to a persistent data store. The utility uses the information in the persistent data store to generate an application programming interface. The application programming interface takes the data values from the other language and translates them to a formatted CICS COBOL communications area. This format is derived from the definition of the CICS communications area contained in the imported CICS program. After the translation runs, the resulting CICS COBOL communications area is translated back to the data values of the other language. This translation step also handles the data conversion between different codepages and machine architectures and program semantics. The resulting language values represent the result of the transaction. The CICS transaction is accessed using the CICS External Call Interface mechanism.
84 Citations
12 Claims
-
1. An import utility for interfacing a COBOL program through a CICS transaction executing in a first program environment on a first computer device to a program specific to another program environment on a second computer device, said import utility comprising:
-
(a) scanner means for scanning the CICS transaction for said COBOL program and producing a data description of said CICS transaction;
(b) parser means for parsing said data description into a corresponding token stream;
(c) importer means for importing said token stream and automatically generating a data model describing said CICS transaction in said another program environment, said data model including means for converting information between said CICS transaction and a program in said another program environment, and said data model being compatible for generating code for an invoking mechanism in a program for remotely invoking said CICS transaction from said another program environment on said second computer machine, without transforming CICS data in said first program environment. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer system having a first program environment on a first computer device and a second program environment on a second computer device, said computer system comprising:
-
an importer having scanner means for scanning a transaction interface for a program running in said first program environment and producing an output describing the transaction interface for the program in said first program environment, parser means for parsing the output description from said scanner means and generating a token stream, creator means for creating a data model from said token stream, wherein said data model includes means for converting information from said transaction interface for a program running in said second program environment;
a compiler having means for compiling a program in said second program environment and said data model to produce an executable program, said executable program including invoking means derived from said data model for remotely accessing the program operating in said first program environment without transforming said transaction interface in said first program environment. - View Dependent Claims (7, 8, 9)
-
-
10. A computer program product for use in a computer system having a first program environment on a first computer device and a second program environment on a second computer device, said first program environment providing an operating platform for a COBOL program and CICS transactions, said computer program product comprising:
-
a recording medium;
means recorded on said medium for instructing said computer system to perform the steps of, (a) scanning the CICS transaction in said COBOL program and producing a data description of said CICS transaction;
(b) parsing said data description into a corresponding token stream;
(c) creating a data model from said token stream wherein said data model describes said CICS transaction in said second program environment and includes means for converting information between said first and second program environments, and said data model being compatible for generating code for an invoking mechanism in a program for remotely invoking said CICS transaction from said second program environment without transforming CICS data in said first program environment. - View Dependent Claims (11, 12)
-
Specification