SUMMARY/UPDATE : Data Porting From VAX to UNIX

From: Jaleel Ahmed <jaleelahmed_at_yahoo.com>
Date: Tue, 15 Jan 2002 00:02:22 -0800 (PST)

Thanks to Alan and Dr. Thomas Blinn for the advice

 The original question was
Is there any way to transfer the data from VAX to
> Tru64 with required precision for Float and
> integers,without converting to text

  As such the native formats for float/double are
different on VAX and Unix ,so directly copying the
files to unix and reading them is not the way out.
Dr.Thomas suggested that programs should be written at
the VAX system to convert the data to a common
acceptable format and then transferred to the unix
machine. For float the format supported by both the
systems is IEEE floating point format (I,ve checked it
with Fortran programs on VAX it works).

 The methodology i,ve adopted earlier was to read the
ISAM files and convert the data into text using
formatted write in fortran(ala fprintf in C),then
transferring the text file to the Tru64 system.
This worked fine but someone pointed out that there
are pitfalls in this approach and looking at the
amount of data that needs to be converted it seems
impractical. Can anyone throw some light on this
approach. Main concern is preserving the precision .
Just to give more insight ,we have around 25 ISAM
files ,storing data from past 20 years .
On an average around 1000 records get added daily in
each of these files.
Few files have record length of around 5 Kb.
Almost all the fields are double.
Can anyone suggest the pitfalls of going for
conversion to text.
 I think this question is more suited for a
Programmers mailing list but i hope some one here may
point some issues ,
Any way thanks
 Abdul



__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Received on Tue Jan 15 2002 - 08:02:30 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT