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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sun Apr 12, 2015 3:04 am
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
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: 917
Location: The Universe

PostPosted: Sun Apr 12, 2015 6:08 am
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
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: 2455
Location: Hampshire, UK

PostPosted: Sun Apr 12, 2015 3:04 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 8
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top