Browse Prior Art Database

Efficient Parsing Scheme for Disk Fault Tolerance Response File

IP.com Disclosure Number: IPCOM000105795D
Original Publication Date: 1993-Sep-01
Included in the Prior Art Database: 2005-Mar-20
Document File: 2 page(s) / 43K

Publishing Venue

IBM

Related People

McHam, JN: AUTHOR [+2]

Abstract

Disclosed is a method to parse commands contained in a file. The 'response file' contains commands needed to remotely configure and administer disk fault-tolerance support at servers in a local area network. The file is customized by LAN administrators to accommodate the requirements of each server. The disk Fault Tolerance software, part of the IBM OS/2* Advanced LAN Server* 3.0 package, uses a fast, efficient method to parse the commands in a response file.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 74% of the total text.

Efficient Parsing Scheme for Disk Fault Tolerance Response File

      Disclosed is a method to parse commands contained in a file.
The 'response file' contains commands needed to remotely configure
and administer disk fault-tolerance support at servers in a local
area network.  The file is customized by LAN administrators to
accommodate the requirements of each server.  The disk Fault
Tolerance software, part of the IBM OS/2* Advanced LAN Server* 3.0
package, uses a fast, efficient method to parse the commands in a
response file.

      The parsing method makes use of a tracking table with three
elements.  The first element contains the line number of the data
within the response file.  The second element contains a code for the
command (if any) found on the line.  The third element contains the
offset into a data buffer where the command is located.

      As the response file is read into memory, white space and
comments are removed from each line.  If data is found on a line, the
information is moved to a data buffer and an entry is added to the
table.  If the data includes a command, an identifier of the type of
command is added to the table entry.  During the parsing,
sanity/error checks are performed.  If any error is found, the
location within the response file and the type of error are logged.

      After the response file has been parsed, the table is used to
guide the execution of the commands.  Each command is executed in
turn.  The da...