- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp & packed data
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 01:45 AM
08-16-2002 01:45 AM
Has anyone encountered this and if so, is there a work around.
Thanks
Leni
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 02:09 AM
08-16-2002 02:09 AM
Re: ftp & packed data
I.e. binary mode can transfer *any* file, i.e. also a "packed data" file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 02:13 AM
08-16-2002 02:13 AM
Re: ftp & packed data
Leni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 02:22 AM
08-16-2002 02:22 AM
Re: ftp & packed data
Leni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 03:36 AM
08-16-2002 03:36 AM
Re: ftp & packed data
However it would probably be wise to use a much smaller size if possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 06:17 AM
08-16-2002 06:17 AM
Re: ftp & packed data
When you say "packed", I read that to be a cobol type comp-4 or something.
If you have the following situation-
1) Transfering to a HPUX system
2) You DON'T have a cobol compiler on that system
3) You plan on doing additional processing on that data.
Then I recommend the following be done on the mainframe side, before creating the file-
1) Use ASCII instead of EBCDIC.
2) Don't use "packed" format for numerics.
3) Be sure to have sign separate (not overpunched).
Although it is possible with "C" or "perl" to deal with these files, unless you are prepared to develop some code, you would be better off getting those files in a standard ASCII text form.
My 2 cents...
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:04 PM
08-16-2002 07:04 PM
Re: ftp & packed data
When you are transfering files in "binary" mode you won't encounter any issues.
DO NOT ATTEMPT to convert EBCDIC or PACKED data using FTP. Write a program to do SUCH.
Packed, usually means that dollar amounts (and other numbers) are packed into a smaller space, as well as where the Sign of the number goes. Make sure you test the crap out of things!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2002 09:36 AM
08-19-2002 09:36 AM
SolutionAny limit on the size of a file transferable via FTP would be in the implementation - for example, was the ftp client/daemon compiled for large files (if not, it certainly aught to be), or was the destination file specified as residing on a filesystem that was not large file enabled.
even if FTP can transfer files larger than 2GB, it may still be desirable to do the transfers in smaller chunks. this is getting a bit esoteric, but if you assume that there is a packet loss percentage of p, and a given TCP stack will retransmit a given segment about oh 16 times, then the chance of any one segment being retransmitted those 16 times and the connection aborting would be (roughly) p^16. That means that the probability of any one segment making it through without the connection aborting is (1-(p^16)).
the number of segments will be the file size divided by the MSS (Maximum Segment Size)
for the file to transfer successfully (in one shot) all the segments have to get across the network.
that means that we can express the probability of a file transfer as (1-(p^maxretrans))^(filesize/mss)
now, most of the time, p will be very very very small, which means that the probabiliy of a very large file getting across is quite large.
like i said though, this is getting a bit esoteric :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2002 09:45 AM
08-19-2002 09:45 AM
Re: ftp & packed data
Don't think there is a limit on the size of file that you an transfer through FTP. However it is limited to 2GB if the filesystem where this data is copied does not have 'largefiles" enabled for that filesystem. 2GB would be the limit for any file (irrespective of application / command ) in that filesystem if "largefiles" is not enabled.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2002 06:27 AM
08-21-2002 06:27 AM
Re: ftp & packed data
I found the best way to get this done effectively was to use mainframe SyncSort (or other) to unpack any packed data as well as place leading sign indicators and decimals. SyncSort has VERY good utilities for reformating/transforming data, and this didn't add very much to the entire ETT process at all.
Check out the SyncSort EDIT command with the SIGNS option; both are used in the OUTREC statement.
Good luck.