Manipulating files with long records
#1
As Linda in Becker would say "here's the thing..."
I am currently testing a system which uses a record length of 538 characters (ASCII) or 385 bytes (Binary) and I need to generate test data for this system using existing data. Does anyone know of any tools which will allow me to easily edit records of this length in UNIX or Windows. If it was a Mainframe system I'd use Fileaid, is there anything similar?
Cheers
Bill
I am currently testing a system which uses a record length of 538 characters (ASCII) or 385 bytes (Binary) and I need to generate test data for this system using existing data. Does anyone know of any tools which will allow me to easily edit records of this length in UNIX or Windows. If it was a Mainframe system I'd use Fileaid, is there anything similar?
Cheers
Bill
#2
Scooby Regular
Join Date: Feb 2002
Location: Newcastle
Posts: 459
Likes: 0
Received 0 Likes
on
0 Posts
I'd use VI, but unless you know it, it ain't that easy.
Download one of the many Unix command line utils and see if its any good.
I'm currently using something called UNIXDOS. Got it from Tucows I think.
Download one of the many Unix command line utils and see if its any good.
I'm currently using something called UNIXDOS. Got it from Tucows I think.
#3
Scooby Regular
Can you explain a bit further? You want to generate test data, how? Those record lengths aren't big at all. Do you have test data you need to convert somehow or what?
#4
stevecotton,
The issue is that the test data will have to be hand-crafted. We are adding new fields to the internal record (these fields already exist in the input files). I can use current input files from our live system and amend the fields under test to check that validation / processing is taking place correctly.
I guess the real problems are that I hate VI and was looking for a utility which would allow me to provide a file definition and a file and have the file displayed with all the fields labelled, just like FileAid does.
Never mind, I'll just have to do something with Perl.
The issue is that the test data will have to be hand-crafted. We are adding new fields to the internal record (these fields already exist in the input files). I can use current input files from our live system and amend the fields under test to check that validation / processing is taking place correctly.
I guess the real problems are that I hate VI and was looking for a utility which would allow me to provide a file definition and a file and have the file displayed with all the fields labelled, just like FileAid does.
Never mind, I'll just have to do something with Perl.
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM