Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Record ID Sort Criteria Handling

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

Publishing Venue

IBM

Related People

Chang, PY: AUTHOR [+2]

Abstract

Throughput is increased by automatically aborting a multiple criteria sort process when a record ID (identification) is encountered.

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

Page 1 of 1

Record ID Sort Criteria Handling

Throughput is increased by automatically aborting a multiple criteria sort process when a record ID (identification) is encountered.

Given the capability of both flexibility in specifying sort criteria and specifying multiple sort criteria, treating record IDs as sort criteria for arranging or ordering records in a file can require unnecessary execution steps. This is because records are already sequentially ordered and thus no comparison is required.

Consider a specifiable multiple sort criteria of State, City, Last Name, First Name, and Age. The sort criteria are scanned to determine if Record ID has been specified. If not, thereafter the sort process proceeds and if there is a comparison in State, then further sorting is on City. If there is also a comparison on City, then further sorting is on Last Name. On the other hand, if the first specified sort criteria is Record ID, the records are already arranged at the highest priority sort criteria. Therefore, comparing for State, City, etc., is not necessary.

1