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
 

 

FTP - END oF FIle control character ('->') using 3.6 option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kunal jain

New User


Joined: 19 May 2011
Posts: 59
Location: India

PostPosted: Sun Apr 12, 2015 2:34 am    Post subject: FTP - END oF FIle control character ('->') using 3.6 option
Reply with quote

Hi All,

While doing FTP using 3.6 option from mainframe dataset to a text file, I see the control character ('->') after the last record in the text file.

Is there a way to eliminate this ?
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Sun Apr 12, 2015 3:04 am    Post subject: Reply to: FTP - END oF FIle control character ('->') using 3.6 option
Reply with quote

You see it where, and with what? What is the hexadecimal value of the data? My suspicion would be that if you get rid of it, you'll break your file, but not enough information to be sure.
Back to top
View user's profile Send private message
kunal jain

New User


Joined: 19 May 2011
Posts: 59
Location: India

PostPosted: Sun Apr 12, 2015 5:55 am    Post subject:
Reply with quote

Hi Bill,

The control character ('->') is coming at the first position on the record just after the last data record on the notepad.

I am not sure about the hexadecimal value of it as it is not on the mainframe file but on the notepad.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 535
Location: The Universe

PostPosted: Sun Apr 12, 2015 6:08 am    Post subject:
Reply with quote

Was the transfer agent really IBM FTP or some other transfer agent? My old version of a 3270 emulator did that trick with its file transfer agent, though it was corrected by a newer version of the emulator.
Back to top
View user's profile Send private message
kunal jain

New User


Joined: 19 May 2011
Posts: 59
Location: India

PostPosted: Sun Apr 12, 2015 7:55 am    Post subject:
Reply with quote

It is IBM FTP
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1825
Location: UK

PostPosted: Sun Apr 12, 2015 3:04 pm    Post subject:
Reply with quote

It is an EOF marker - but do not ask me why some files have it and some do not - I've just checked a whole lot of my text files before finding one showing that character. It doesn't hurt to delete it - I think it just gets added back.

If you are really concerned then go to a PC forum somewhere or Google 'eof marker in text documents'
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


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