transfer filePro file from dos to unix
Dennis Malen
dmalen at malen.com
Thu Oct 23 07:57:34 PDT 2008
Thanks Ken,
I did all of what you described yesterday and tried to update the screen in
Define Screens. I got an error which was not a checksum error. When I get
into the office today I will run it again and give you the exact error.
I did just confirm on the internet that the IBM eServer p5 is a little
endian so I am not sure why I did not get the chekcksum error which I would
not been concerned with anyway.
Just to reconfirm, the laptop runs Vista on an Intel chip. A google search
indicates that it appears to be Little Endian.
Dennis Malen
516.479.5912
----- Original Message -----
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Dennis Malen" <dmalen at malen.com>
Cc: "filePro" <filepro-list at lists.celestial.com>
Sent: Thursday, October 23, 2008 10:08 AM
Subject: Re: transfer filePro file from dos to unix
(Top-posting corrected.)
Quoting Dennis Malen (Thu, 23 Oct 2008 10:01:34 -0400):
[...]
>>> Is there a simple way to transfer a small filePro file from an Intel
>>> System using Vista to a Unix System IBM Power 5 Server?
[...]
>> Well it really depends upon what you are moving.
>> If its just a small file just make sure its created natively on both
>> systems.
>> If you save your processing tables as ascii (ABE=ASCII), just ftp it over
>> Recompile if you need a tok and you are on your way.
[...]
> That's a great idea. Can I use the same approach for a screen and a report
> format?
If the Unix box is little-endian, you can:
Binary ftp the file from Windows to Unix.
Rename the file from *.out to out.*
Chown/chmod the file.
Bring up the format in dscreen/dmoedef, dismissing the checkum warning
popup.
Update the screen/output format and re-save it.
Repeat for each screen/output format you copy over.
If the Unix box is big-endian, then you can't do the above.
Or, you can use xfer, which does all the work for you, including the byte
swapping if the Unix box is big-endian.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list