Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Removing the last line when FTP from mainframes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics
Author Message
ssowmya

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Wed Apr 04, 2007 10:06 am    Post subject: Removing the last line when FTP from mainframes
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
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8733
Location: 221 B Baker St

PostPosted: Wed Apr 04, 2007 7:30 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1