remove the LAST CR LF in a flat file
JDE E910
I am using B34A1010 - WriteOneLine BF to write to a flat file. at the end of each line are having CR and LF. That is great. However, the flat file also has one empty blank line at the end of the file. I believe it is due to the last CR and LF in the end of each line.
How to get ride of this last empty blank line or remove the last ( only the last CR and LF ) ?
from :
abcdegh<CR><LF>
12345<CR><LF>
<BLANK>
to :
abcdegh<CR><LF>
12345
Note : I found oracle doc id 2394764.1