Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 564
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: 1868
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us