- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Had to change email system to CSSMTP for security reasons and and now getting   characters after line breaks in email body. Utilizing ODS HTML3 with style=sasweb. I've played around with different ODS destinations, styles and options and cannot seem to make it disappear. Anyone have any ideas?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Why are you writing HTML as fixed length 80 byte records (card images)?
I suspect it is having to flow the code into such a cramped format that is causing extra spaces to make their way into the generated HTML.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
That's very odd. It almost looks like there's a space between the 's' and the 'p' in ' ' in your screen shot. Just as a test, does the same thing happen if you use HTML4 or HTML5? This might be something you need to work on with Tech Support. If you are not putting '&nbs p;' into the program, then there may be some bug in the HTML3 destination code in ODS.
Cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Cynthia,
Different HTML destinations do remove it, but change the body formatting of the email drastically:
HTML4
HTML5
I don't know enough about how styles work with different HTML outputs.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I forgot to mention, there also looks like a space in the word February in the title that wasn't there before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
filename myfile email
to=("xxxxxxxx@usda.gov")
from=("xxxxxxxx@usda.gov")
sender=("xxxxxxxx@.usda.gov")
replyto=("xxxxxxxx@usda.gov")
subject="DISC daily mainframe metrics"
type="text/html"
sysout=b
pgm=ktcpsmtp
encoding=ascii
lrecl=80
blksize=80
recfm=fb;
run;
ods html3 body=myfile rs=none style=sasweb;
proc print data=work.plat noobs;
var cecser minpltbusy avgpltbusy maxpltbusy
minzipbusy avgzipbusy maxzipbusy;
where system='SYSA';
title1 j=left c=black height=6pt
"Here are the daily metrics.";
title2 j=left c=black height=6pt
"xxxxxxxx";
title3 " ";
title4 "&serial&type DISC frame 24hr metrics for &rptdate";
run;
proc print data=work.sys noobs;
by system;
var cecser system hour minsysbusy avgsysbusy maxsysbusy
minzipbusy avgzipbusy maxzipbusy;
title "&serial&type DISC systems 24hr metrics for &rptdate";
run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Why are you writing HTML as fixed length 80 byte records (card images)?
I suspect it is having to flow the code into such a cramped format that is causing extra spaces to make their way into the generated HTML.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This came from an example of how to use CSSMTP on the mainframe. It is passing the entire email to the CSSMTP via JES. I increased the record length and blocksize to 133 and it eliminated it. Good catch!!