Browse Prior Art Database

Handling And Accessing Record Identifiers

IP.com Disclosure Number: IPCOM000048716D
Original Publication Date: 1982-Mar-01
Included in the Prior Art Database: 2005-Feb-09
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Chang, PY: AUTHOR [+5]

Abstract

A procedure is provided which permits the operator to quickly access records in files. Direct access to a record can be accomplished by typing a valid decimal Record Number. To be valid, the Record Number must correspond to an existing Record ID (REC-ID) number in the file accessed. The Record Number is typed under the REC-ID field in the Record Selection Frame. This number can be preceded by an "equals" control character and/or a "plus" sign with interspersed spaces allowed except between the sign and the number. The number must be an integer in the same sense that nothing but spaces can follow the decimal decimal digits. Also only one entry is allowed in the whole Record Selection Frame and must correspond to the condition described above.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 92% of the total text.

Page 1 of 1

Handling And Accessing Record Identifiers

A procedure is provided which permits the operator to quickly access records in files. Direct access to a record can be accomplished by typing a valid decimal Record Number. To be valid, the Record Number must correspond to an existing Record ID (REC-ID) number in the file accessed. The Record Number is typed under the REC-ID field in the Record Selection Frame. This number can be preceded by an "equals" control character and/or a "plus" sign with interspersed spaces allowed except between the sign and the number. The number must be an integer in the same sense that nothing but spaces can follow the decimal decimal digits. Also only one entry is allowed in the whole Record Selection Frame and must correspond to the condition described above.

The record package generates a REC-ID field for each file created. If the REC-ID is stored in the record as other fields in the file, random access by specifying REC-ID would take a long time on the average for any particular REC- ID.

The solution to this problem is not to store the REC-ID field in record. Since Storage Access Method provides the capability to access a particular block and to convert between relative record number and block number, it is possible to derive REC-ID from Relative Record Numbers (RRNs). For example, if there are 15 descriptor records before the first record in a file, REC-ID equals 5 is the same record as RRN equals 20. Because Storage Access Method is us...