Method for supporting multiple file-systems in file...

Data processing: database and file management or data structures – Database design – Data structure types

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C707S793000, C707S793000, C707S793000

Reexamination Certificate

active

06526407

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to computer-implemented compilers for high-level programming languages and their associated run-time environments, and in particular, to a computer-implemented method for supporting multiple file-systems in file input/output (I/O) operations.
2. Description of the Related Art
A compiler is a computer program that translates a source program into an equivalent object program that can be executed by a computer. The source program is typically comprised of high-level source language statements like COBOL, and the object language is the assembly language or machine code of some computer. The translation of the kit source program into the object program occurs at compile-time; the actual execution of the object program occurs at run-time.
A compiler must perform an analysis of the source program and then it must perform a synthesis of the object program, wherein it first decomposes the source program into its basic parts, and then builds the equivalent object program parts from the parts of the source program. As a source program is analyzed, information is obtained from declarations and procedural statements, such as loops and file I/O verbs.
Compilers for the COBOL programming language are well known in the art. In addition, run-time environments for COBOL-based computer programs are also well known in the art. The COBOL language has evolved into a standard language for business applications on mainframes and minicomputers, and has been adopted as such by the American National Standards Institute, Inc. (ANSI).
As a general rule, a file name is specified by COBOL source language statements using the “SELECT” and “ASSIGN” clauses. Such statements are specified using one of the following formats:
SELECT [OPTIONAL] FileId ASSIGN {TO literal}
SELECT [OPTIONAL] FileId ASSIGN {TO implementor-name}
SELECT [OPTIONAL] FileId ASSIGN {USING data-name}
wherein “FileId” represents the file identifier used within the source program to reference or identify input/output operations, and “implementor-name”, “literal”, and “data-name” represents the file identification as known by the computer system. The “implementor-name” may be a string representing the file identification or the name of an environment variable whose value is a string representing the file identification that may be set prior to object program execution. The “literal” is a string representing the file identification. The “data-name” is a variable containing a string representing the file identification at execution time.
In many computer platforms, multiple file-systems are available for use with application programs. Thus, it is important for a computer language product (such as COBOL) to support and provide an interface to these multiple file-systems. In such an environment, an application program should be able to access files of various different file-systems.
However, it is necessary to make the selection of a file-system as transparent as possible to the application program. Additionally, the support of access to multiple file-systems from programs written in a high-level programming language should be relatively easy to implement.
In order to address the above requirements, the present invention provides a method for supporting multiple file-systems for high-level language (such as COBOL) file input/output (I/O) operations.
SUMMARY OF THE INVENTION
To address the requirements described above, the present invention discloses a method, apparatus, and article of manufacture for supporting file input/output (I/O) operations to multiple file-systems through applications written in a high-level computer language, such as COBOL.
In the present invention, the source program may include a literal identifying the specific file-system. Alternatively, the source program may use a data name or variable to store a string representation of the file-system identifier that is constructed or specified by the source program, or retrieved from an external source. In addition, an environment variable that stores a string representation of the file-system identifier may be specified at object program run-time. These capabilities are provided by extensions to standard programming language conventions that are recognized and processed within a compiler.
An object of the present invention is to allow different file-systems to be specified in source language statements. Another object of the present invention is to permit an object program to access different file-systems without recompilation, using data names or environment variables. Yet another object of the present invention is to make the interfaces within the source language independent of the specified file-system, so that support of any number of different file-systems can be accomplished with relative ease. Still another object of the present invention is to provide the ability to dynamically select a file-system on a file-by-file basis, thereby allowing the program to use a first file-system for one file and a second file-system for another file.


REFERENCES:
patent: 4068300 (1978-01-01), Bachman
patent: 4587628 (1986-05-01), Archer et al.
patent: 4785400 (1988-11-01), Kojima et al.
patent: 5295222 (1994-03-01), Wadhwa et al.
patent: 5341499 (1994-08-01), Doragh
patent: 5363487 (1994-11-01), Willman et al.
patent: 5452449 (1995-09-01), Baldwin, Jr. et al.
patent: 5463772 (1995-10-01), Thompson et al.
patent: 5574898 (1996-11-01), LeBlang et al.
patent: 5574903 (1996-11-01), Szymanski et al.
patent: 5603034 (1997-02-01), Swanson
patent: 5640550 (1997-06-01), Coker
patent: 5819276 (1998-10-01), Cai et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method for supporting multiple file-systems in file... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method for supporting multiple file-systems in file..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method for supporting multiple file-systems in file... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3138977

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.