The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
returning from a function alirezan Shell Programming and Scripting 2 08-18-2008 12:12 PM
lpd_command returning 108 rosh_144 IP Networking 0 10-25-2007 02:34 AM
Returning a BLOB to Ksh jack1981 Shell Programming and Scripting 2 05-12-2007 02:36 AM
pclose returning -1 nimishm123 UNIX for Advanced & Expert Users 3 12-01-2006 04:18 AM
returning value from sqlplus malaymaru Shell Programming and Scripting 1 01-31-2006 01:03 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2008
Registered User
 

Join Date: Sep 2008
Posts: 3
FTP not returning CR

Hi all,

I have a mainframe file which i am ftping to unix box.

even though i have three records in my mainframe file the file on unix is coming as a single record.

Can you help me out.

Thanks,
Hari
Reply With Quote
Forum Sponsor
  #2  
Old 09-09-2008
vbe vbe is offline
Moderator
 

Join Date: Sep 2005
Location: Switzerland
Posts: 775
What is the record separator on your mainframe? (blocks, size, etc...)
Reply With Quote
  #3  
Old 09-09-2008
Registered User
 

Join Date: Sep 2008
Posts: 3
The file is a pipe seperated and is a VB file.
I am converting the file to UCS-2 and sending the file.
Reply With Quote
  #4  
Old 09-09-2008
vbe vbe is offline
Moderator
 

Join Date: Sep 2005
Location: Switzerland
Posts: 775
Are you sure? Not getting mixed up with field separator?
What mainframe is it? normally mainframes deal with fixed length blocks or otherwise you should have some documentaion specifying the format such as file is ASCII file header XXlength, YY records, main AAA length BBBBB records etc...
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0