Output from RetrieVe and UniVerseSQL both drop spaces that precede a new line.
The single valued attribute I'm extracting contains several thousand characters of XML with no line breaks. Output is severely truncated unless applying a FMT such as '79L' which causes it to wrap at the specified screen width, which in my case is 79. That is all fine except for one detail.
Any space immediately preceding the new line is omitted, wrecking the XML even after the line breaks are removed in the destination system.
Is there a way to force the output to retain the trailing space on a line? Maybe an alternative terminal emulation? Or a way to send the content straight to an AIX operating system text file with the spaces intact?
I tried using FMT with L, R and C which all had identical results. T caused it to break on a space but still did not include any trailing spaces on the line. Same results to terminal or print spooler.
One workaround would be post processing it line by line before it is imported to SQL Server but I'm hoping to avoid this.