Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP: UNIX to WINDOWS then to MAINFRAME

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: FTP: UNIX to WINDOWS then to MAINFRAME
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

Moderator Team Head


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

PostPosted: Thu Feb 28, 2008 7:57 pm    Post subject: Re: FTP : UNIX 2 WINDOWS THEN 2 MAINFRAME
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Feb 28, 2008 8:11 pm    Post subject: Reply to: FTP : UNIX 2 WINDOWS THEN 2 MAINFRAME
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Feb 29, 2008 1:32 pm    Post subject: Reply to: FTP: UNIX to WINDOWS then to MAINFRAME
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us