SUNACCESSTM - File Access Libraries
For many reasons users of Sunbelt PL/B may need to code some of their applications in languages other than PL/B. Unfortunately the only easy way to share data with a program written in another language was via a flat file (non indexed or aamdexed). The purpose of SUNACCESSTM is to provide access to ISAM & AAM file support capability to other languages.
If you have existing applications written in other languages, then you can extend the capabilities of those applications to support your existing database of Sunbelt ISAM and AAM files.
If you have applications that are primarily scientific or process control (more appropriate to C) but have need for database support, then you will find SUNACCESSTM attractive.
If you need to share data between PL/B applications and applications coded in other languages, then you need SUNACCESSTM. For example, process control data might have been collected in C, but can be more efficiently processed by PL/B. Or maybe all of the old business applications are written in COBOL and a bridge is needed to the new applications written in PL/B.
ISAM Access Method
- Indexed sequential access method (ISAM) files use a `key file' (ISI file) to determine which logical record in the physical text file is associated with the `key data' supplied. The ISI file acts as the control file for the processing of logical records within the physical text file. The `key data' is usually built from actual data within the logical record to be processed. However, the `key data' does not have to come from the logical record for ISAM processing.
Capabilities of the following PL/B instructions are supported for ISAM files: PREP, OPEN, CLOSE, READ, READKS, READKP, WRITE, UPDATE, DELETE. DELETED, DELETEDK, DELETEK, INSERT
Associate Access Method
- Associative access method (AAM) files allow the user to process logical records based on `collective key' information. Similar to ISAM, this method uses a control file (AAM file) to determine which logical record is to be processed based upon the key information specified. Unlike ISAM, AAM does not require a complete or specific key. However, the key information must have been extracted from data written within the logical record.
Capabilities of the following PL/B instructions are supported for AAM files: PREP, OPEN, CLOSE, READ, READKG, READKGP, READLAST, WRITE, UPDATE, DELETE, INSERT
Copyright 2008 Sunbelt Computer Systems, Inc.
Last modified Thu 14 Feb 2002 10:18:14 AM CST by sales@sunbelt-PLB.com