Browse Prior Art Database

Bytestream File Conversion Utility for Computer Systems

IP.com Disclosure Number: IPCOM000106405D
Original Publication Date: 1993-Nov-01
Included in the Prior Art Database: 2005-Mar-21
Document File: 2 page(s) / 77K

Publishing Venue

IBM

Related People

Miro, F: AUTHOR [+3]

Abstract

Described is a software implementation that provides a file conversion utility for computer systems to convert bytestream files to record level files of either sequential, direct, or keyed ordering. The implementation can also reverse this conversion.

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

Bytestream File Conversion Utility for Computer Systems

      Described is a software implementation that provides a file
conversion utility for computer systems to convert bytestream files
to record level files of either sequential, direct, or keyed
ordering.  The implementation can also reverse this conversion.

      The file conversion utility is particularly useful for use with
32-bit record level applications so as to access existing file data
created by bytestream input/output (I/O) applications.  When
converting to record format, the record file may have fixed or
variable length records.  In order to convert to a variable length
record file, the input bytestream file must have delimiters in the
data, otherwise there is no way to map the lengths onto the
bytestream.

      The bytestream file conversion utility consists of the software
structure: CONVERTRF source_file  target_file    \1:n    \s:K.  There
are six possibilities: 1) bytestream to SEQ; 2) bytestream to DIR; 3)
bytestream to KEY (only the data); 4) SEQ to bytestream; 5) DIR to
bytestream; and 6) KEY to bytestream (only the data is converted).

      The \1:  parameter is the record length and is the length of
all of the records in files of fixed length records, or the maximum
length of records in files of variable length records.  The default
is 4K, however the actual record length should be used for optimal
performance.

      The \s:  parameter only applies when converting a record level
I/O key file to a bytestream file and specifies the order when
unloading the record level I/O keyed file.  The 's' refers to the
sequencing of valid options, such 'K' records in the record level I/O
file to be unloaded in key sequence, or 'R' records in the record
level I/O file to be unloaded in record number order.  The default is
the key sequence.

      A delimiter is usually added to the end of each record as it is
written to a bytestream file.  The record level I/O will only
recognize a carriage return/line feed (CR/LF).  No other delimiter
will be recognized an...