Browse Prior Art Database

Space Indexing Technique for Improved Functions and Performance Within a Source Editor

IP.com Disclosure Number: IPCOM000050704D
Original Publication Date: 1982-Dec-01
Included in the Prior Art Database: 2005-Feb-10
Document File: 2 page(s) / 14K

Publishing Venue

IBM

Related People

Christenson, PJ: AUTHOR [+3]

Abstract

This is a method for allowing a source editor to provide a combination of function and performance related items, including: Inserting and remembering any number of formatting lines. Flagging lines with syntax errors, than can optionally be displayed. Flagging lines with global substitution errors. Flagging lines with shifting errors. Flagging lines changed for eventual syntax checking. Finding records by sequence number without having to run the chain. Flagging deleted records for possible restoration.

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

Page 1 of 2

Space Indexing Technique for Improved Functions and Performance Within a Source Editor

This is a method for allowing a source editor to provide a combination of function and performance related items, including: Inserting and remembering any number of formatting lines.

Flagging lines with syntax errors, than can optionally be displayed.

Flagging lines with global substitution errors. Flagging lines with shifting errors.

Flagging lines changed for eventual syntax checking.

Finding records by sequence number without having to run the chain.

Flagging deleted records for possible restoration.

Generally, line editors maintain either a pending operations table or attempt to save all pending events in the double chained work space storing the data. For performance reasons it is not practical to run the entire work space to see if there are conflicting pending operations. Conversely, it is not desirable to restrict the user to a limited number of pending syntax error conditions that would be displayable whenever encountered.

To provide all the flexibility of unrestricted line flagging and provide the performance associated with running a small chain, a forward/backward chained work space and a pending operations table are used. These separate tables are then chained with pointers to provide the performance.

A simplified version of the source space that is forward and backward chained follows:
DCL 1 SSSPACE BASED(SSP), /* Space for saving source */ 3 SSNEXT BIN(15), /* Next relative source record */ 3 SSPREV BIN(15), /* Previous source record */ 3 SSFLAGS, /* Record information */ 5 SSDEL BIT, /* Record deleted */ 5 SSFMT BIT, /* Format line associated */ 5 SSSYNERR BIT, /* Syntax error pending */ 5 SSCHGFLG BIT, /* Record been changed */ 5 SSSHFERR BIT, /* Shift error, won't fit */ 5 SSSUBERR BIT, /* Substitution error */ 3 SSFMT BIN(15), /* Format ID in table */ 3 SSSEQ CHAR(6), /* Sequence number */ 3 SSDATE CHAR(6), /* Change date */ 3 SSDATA CHAR(*); /* Data */

A simplified version of the Pending Table that flags all operations that are incomplete is:
DCL 1 XPEND BASED(PND), /* Pending operations table...