Dec 052017
 
Break a database file into indicated record size and appends a CR/LF to the end of each record.
File ACRLF.ZIP from The Programmer’s Corner in
Category Word Processors
Break a database file into indicated record size and appends a CR/LF to the end of each record.
File Name File Size Zip Size Zip Type
ACRLF.C 3691 1178 deflated
ACRLF.DOC 1845 792 deflated
ACRLF.EXE 9645 6104 deflated

Download File ACRLF.ZIP Here

Contents of the ACRLF.DOC file


ACRLF ==> Add Carriage Return Line Feed

Copyright (c) 1990, Glenn M. Belton, All Rights Reserved

Address Comments and PAYMENT To (see COST below):

Glenn M. Belton
13591 Rush Drive
Woodbridge, VA 22192
(703) 670-5535


Usage: ACRLF Input_file Output_file Record_size [Start record] [Record quantity]

Purpose: Modify database files where records are streamed begining to end
without terminators.

Function: Breaks file into indicated record size and
appends a CR LF (HEX 0D 0A) sequence to the end of each record.

Optional parameters; start record and record quantity allow groups
of records to be copied to the output file.

NOTE: Input file is opened in READ ONLY MODE and
the Output file will NOT be overwritten.

COST: If it's used in a business sense (i.e. if money is made off usage
in any way, shape or form), the cost is $20.00 US.
Otherwise, its free of usage charge. Source code cannot be sold for
any reason or incorporated in anything that is for sale.

Examples:

Suppose you have a file containing X quantity of records.

Using a file view utility you determine that the record size is
79 characters or bytes.

to extract all records:

acrlf file outputfile 79

to extract the first 10 records:

acrlf file outputfile 79 1 10

to extract 10 records starting with the 11 record:

acrlf file outputfile 79 11 10

to extract the remaining records starting with the 22 record:

acrlf file outputfile 79 22



 December 5, 2017  Add comments

Leave a Reply