IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP: UNIX to WINDOWS then to MAINFRAME


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Thu Feb 28, 2008 6:35 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Feb 28, 2008 7:57 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Thu Feb 28, 2008 8:11 pm
Reply with quote

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
View user's profile Send private message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Fri Feb 29, 2008 12:06 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Fri Feb 29, 2008 1:32 pm
Reply with quote

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 icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Techm mainframe deveoper 6 to 12 year... Mainframe Jobs 0
No new posts Mainframe Storage Needed Mainframe Jobs 0
No new posts Email attachment from mainframe is empty PC Guides & IT News 9
No new posts Mainframe Dataset Binary or ASCII Mainframe Interview Questions 4
No new posts Need help In Mainframe Automation AF/... CLIST & REXX 14
Search our Forums:


Back to Top