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
 

 

Text file transfer from unix 2 windows

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PC Guides & IT News
View previous topic :: :: View next topic  
Author Message
hyuzen

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Thu Feb 21, 2008 7:34 pm    Post subject: Text file transfer from unix 2 windows
Reply with quote

Hi All,
I have a text file zipped by gunzip in Unix and I transfer it to windows. After I unzip it by winrar or 7z it requires to be converted DOS format to edit that text file correctly. Otherwise data structure in the file corrupted due to LF conversion to CRLF.
File size is about 7 GB.
What I need to do to transfer that zipped file from unix to windows to edit correctly without converting to DOS format ?
Thanks in advance
Huseyin
Back to top
View user's profile Send private message

abhishekmdwivedi

New User


Joined: 22 Aug 2006
Posts: 95
Location: india

PostPosted: Fri Feb 22, 2008 2:51 pm    Post subject: Reply to: Text file transfer from unix 2 windows
Reply with quote

Hi Huseyin,

I think you are using FTP to transfer your file to windows. While Transferring make sure the transfer mode is ASCII.
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Feb 22, 2008 6:45 pm    Post subject:
Reply with quote

You can not transfer a zipped file in ASCII and have it work correctly.

I don't know if this is possible with your tools, but you either need to tell the zipping program to convert the LR to CRLF or you need to do it at unzip.

The other option is to get a better text editor for windows that knows how to deal with file that use only LF for the end of line character. Incidentally, Wordpad (standard with Windows) can do this. However I would recommend Notepad++ or Textpad or Ultraedit, they are all better than the standard Windows Notepad.
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 -> PC Guides & IT News All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


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