‎2008 Aug 14 10:57 PM
Hi,
I have an interesting one here!
When I load a file from the application server (using open dataset) and use the file length command I get a different overall file size compared to a file loaded from the presentation server (using GUI_upload).
Can any one explain why the file sizes are different pls, I believe the correct file size is from the application server.
regards
J-J
‎2008 Aug 15 4:07 AM
Hi Jim,
What operating systems are on the presentation server (PC) and the application server?
The difference may be caused by different file formats. EG Windows/DOS versus Unix.
A Windows/DOS text file contains CHR(13) and CHR(11) or CR/LF as the end of record marker, while Unix can use either. This can accound for a different file size particularly large text files on Windows/DOS and Unix.
In my experience it is better to check the number of records after loading. If they are the same then the file is the same.
cheers
David Cooper
‎2008 Aug 15 4:07 AM
Hi Jim,
What operating systems are on the presentation server (PC) and the application server?
The difference may be caused by different file formats. EG Windows/DOS versus Unix.
A Windows/DOS text file contains CHR(13) and CHR(11) or CR/LF as the end of record marker, while Unix can use either. This can accound for a different file size particularly large text files on Windows/DOS and Unix.
In my experience it is better to check the number of records after loading. If they are the same then the file is the same.
cheers
David Cooper
‎2008 Aug 21 11:17 AM
I have now resolved my issue and I'm using FM SCMS_UPLOAD
Regards
J-J