Can we provide a tab or '~' symbol between each fields in the text file while doing an FTP?
I need a column seperator between two coulmns in my text File. It will be good if the column sepertaor can be a tab ot '~' symbol.
Software/Hardware used:
AS400
ASKED:
May 7, 2012 7:27 AM
UPDATED:
May 8, 2012 12:15 AM
FTP will not add delimiters to your data. You should look at the CPYTOIMPF command to create a delimited file and FTP that
Can we provide a tab or ‘~’ symbol between each fields in the text file while doing an FTP?
No. FTP only transfers record images. If the records don’t have delimiters, then FTP won’t send them.
If you need delimiters, put them into the file before using FTP. Usually, the easiest way to create a copy of a database file that has delimiters inserted is to use the CPYTOIMPF command. Then use FTP to send the copy that you created.
Tom