Hi All,
I am concatenating three files into a single file by using the windows COPY command. I am concatenating these in a basic routine. COPY command was executing sucessfully but one extra record with data as '->'is inserting at the end of the file.
Can any one have idea why this extra record has been inserted and is there any other way to remove this record?
My code is like below
NTCmdCmbN = "copy ":NewCHeader:" + ":NewCDataFe:" + ":NewCTrailer:" ":NewCFinalF
.........
Call DSExecute("NT", NTCmdCmbN, NewCoutp, NewCRetCode)
Data looks like below in the final file NewCFinalF
Hrameshcodingetc
Data111122wsdwe
T000003
I want to remove the last record which is having .
Please help.
Extra character at the end of file
Moderators: chulett, rschirm, roy
Extra character at the end of file
Thanks,
Raamc
Raamc