Browse Prior Art Database

Method for Accessing Logical Records Within Profiles in a Data Base

IP.com Disclosure Number: IPCOM000034402D
Original Publication Date: 1989-Feb-01
Included in the Prior Art Database: 2005-Jan-27
Document File: 3 page(s) / 65K

Publishing Venue

IBM

Related People

Kirtland, DA: AUTHOR [+2]

Abstract

A program is disclosed that handles repeated data structures within a profile in a configuration data base. Configuration profiles may consist of a variable, unlimited number of identical data structures within a single profile segment or chain of segments. These repeated structures are referred to as Logical Records. Profiles may consist of logical records exclusively, non-repeatable (base) information only, or a combination of both. Logical Record Services is the method by which individual logical records and/or base profile information is accessed by externalized key values or names. Logical Record Services (LRS) is implemented as an OS/2* Dynamic Link Routine and provides a macro interface to allow other components in the system to access logical records.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 55% of the total text.

Page 1 of 3

Method for Accessing Logical Records Within Profiles in a Data Base

A program is disclosed that handles repeated data structures within a profile in a configuration data base. Configuration profiles may consist of a variable, unlimited number of identical data structures within a single profile segment or chain of segments.

These repeated structures are referred to as Logical Records. Profiles may consist of logical records exclusively, non-repeatable (base) information only, or a combination of both. Logical Record Services is the method by which individual logical records and/or base profile information is accessed by externalized key values or names. Logical Record Services (LRS) is implemented as an OS/2* Dynamic Link Routine and provides a macro interface to allow other components in the system to access logical records. The macros build a request block structure from the input parameters and call the LRS main module.

(Image Omitted)

The following macro functions are provided: - Structure declaration - declared the PL/S 286 structure used as the LRS request block. (See Fig. 1). -

Initialization - builds an in-memory alphabetized list for accessing profile data structures. This function

may be done implicitly before any other request is

processed if the list for that profile type does not

exist. - Read - access a specific data structure within the

profile, either logical record (by key value) or base

data.

(Image Omitted)

- Write -

write a specific data structure to the profile, either

to update an existing structure or create a new

structure. Either base or logical record data may be

written. - Delete - delete a specific structure from the profile

(by key value). - List - returns a list of profile logical record names (key values) for the specified profile. - Reset - deallocates memory used by LRS. LRS uses an existing service to access the profiles. This service operates on fixed-size profile segments. Each segment may consist of multiple logical records and/or base profile data. The structure of a typical profile segment is shown in Fig. 2. Each structure within a profile segment has a length, an id, and a flag byte that designate the length of the structure, the profile type it belongs to, and whether it is base or logical record data, respectively. The logical record structure header contains information about the logical records for that profile type,

1

Page 2 of 3

including the number of logical records contained in the first profile segment, the number of logical records in any succeeding profile segments and the length of the unique key value for each logical record of that profile type. An in-memory directory list of profile entries, ordered by the key...