Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 10327
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: 10327
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us