I have an application that use ODS EXCEL to "FLOW" a text string into a cell with specified width, ODS EXCEL inserts linefeed character '0A'x into the string to produce a new line within each cell. I then read the XLSX back into a data set and count the number of linefeeds.
When I have long titles or footnotes, I get the following warnings.
WARNING: Worksheet header is too long. Truncation will occur. WARNING: Worksheet footer is too long. Truncation will occur.
This application does not need titles or footnotes, but I don't want to turn them off with TITLE; FOOTNOTE; statements because I can't easily turn them back on.
I've tried using PROC PRINTTO to send the log to NUL and that works ODS and PROC statements, NOTES etc. disappear from the log but NOT the warning.
ODS EXCEL has an option, MSG_LEVEL='NO NOTES', that looked promising but does not suppress the warnings.
I think if I could redirect STDERR that would work but I cannot figure that.
... View more