Providing that you are *not* dealing with hundreds of thousands of records
you can also do the following:
:EDITOR
Text varfile
set fixed
set right=80,length=80
keep fixfile,unn
exit
:
Regards
Paul H. Christidis
______________________________ Reply Separator _________________________________
Subject: Re: Converting Variable Files To Fixed
Author: [log in to unmask] at CCGATE
Date: 8/15/1996 8:05 AM
Use FCOPY.
FILE FIXEDFLE;REC=-lrec,,F,ASCII;DISC=numrecs
FCOPY FROM=VARFILE;TO=*FIXEDFLE;NEW
Leonard Berkowitz
RIA Group (Warren, Gorham & Lamont)
617-292-8349
______________________________ Reply Separator _________________________________
Subject: Converting Variable Files To Fixed
Author: "Santavy; Chris" <[log in to unmask]> at Internet-Exchange
Date: 08/15/96 2:00 PM
I want to convert/copy a variable file to a fixed file.
All of the records on the variable file are of the same length. I want the
record length of the Fixed file to be set this.
Any suggestions please.
Chris