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

Removing the last line when FTP from mainframes


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

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Wed Apr 04, 2007 10:06 am
Reply with quote

Hi

Whenever I try to FTP a file from mainframes, it has an additional line after the last line. Guess this line has the file terminator.

Is there any way to FTP without that additional line? Any option we can specify in JCL???

Please help....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 04, 2007 7:30 pm
Reply with quote

Hello,

Create a small file with sort, gener, or tso that has 5 records
Code:
1
2
3
4
5


Ftp that 5 record file from the mainframe and see if the extra line is added. If you have 2 mainframes with FTP, try sending it from one to the other and see if the extra "record" is added.

You might also talk with your network support people and see if they are aware of some feature that adds a "cr/lf" or something else to indicate eof.

FTP does not normally add things to the transmission.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts SH256/MD5 Checksum in Mainframes JCL JCL & VSAM 14
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts Merge files with a key and insert a b... DFSORT/ICETOOL 6
Search our Forums:

Back to Top