View previous topic :: View next topic
|
Author |
Message |
hyuzen
New User
Joined: 10 Jul 2005 Posts: 58
|
|
|
|
Hi all,
I have a unix file zipped by gzip. After I transfer it binary to windows I unzip it with winrar or 7z. Then I transfer it to Os/390 IBM mainframe but data structure was changed due to "end of line" conversion during unzipping in Windows.
* I have to follow this transfer way (ftp from unix 2 windows then 2 mainframe)
* Normal file size is about 7 GB (compressed file size is about 300 MB)
* I shoul not convert file to DOS format in the windows server as it may effect data structure apart from LF to CRLF conversion.
If I transfer any unzipped file from unix to windows I could transfer it to mainframe without any LF to CRLF conversion problem.
What I need to do to avoid this LF to CRLF conversion problem ?
Is it possipble to unzip that file in the mainframe ?
Huseyin |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
hyuzen wrote: |
Is it possipble to unzip that file in the mainframe? |
Sure. Do you have PKUNZIP available? If not, I would think that you could reverse-engineer the gzip command. It's sort of unfortunate that the creators of the file couldn't use a standard licensed zip product to ensure seamless compatability across any enterprise complex. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
why ???
on z/OS is available a perfectly working gunzip...
so even if You need the windows pc for store and forward
no need to Gunzip and zip |
|
Back to top |
|
|
hyuzen
New User
Joined: 10 Jul 2005 Posts: 58
|
|
|
|
Thank you all for your quick response,
We use OS/390 V2.10 and unfortunately, we don't have PKUNZIP available.
It seems that is very big issue...
Regards,
Huseyin |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Check with Your support group
... the availability and/or the willingness to install/activate
bunzip, gzip, zip
as provided by
http://www-03.ibm.com/servers/eserver/zseries/zos/unix/bpxa1ty1.html
even if the url says for z/os
looking at the sources I didn' t see anything preventing them to run on os 2.10
if built from the sources
a couple of hours to download an try to build are worth the effort of saving some money |
|
Back to top |
|
|
|