Hi:
Offhand, I'm not sure what's going on. First, there are a few irrelevant things you could take OUT of your code, FLOW, WRAP, HEADLINE, HEADSKIP, WIDTH are LISTING only options with PROC REPORT. They are ignored by ODS destinations such as HTML, RTF and PDF. See this Tech Support note for more information:
http://support.sas.com/kb/2/549.html
WRAP and FLOW aren't listed in this note, but they are also ignored based on these notes in the doc:
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473627.htm#a003072097 (FLOW is "monospace" or LISTING only)
and
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473620.htm#a003071991 (WRAP is "monospace" or LISTING only)
Also, you have FRAME=BOX on multiple DEFINE statements -- I'm surprised you didn't get an error message, but it was probably just ignored. FRAME= is a TABLE level style attribute, not a CELL level style attribute. (as described in the doc:
http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002972093.htm#a002978399)
Your CELLWIDTHS seems a bit odd to me. Although you can specify PT for cellwidth, usually, I've always seen cellwidth specified as either IN or CM or EM.
But I seriously doubt whether any of those things had an impact on the papersize being set to legal.
I wonder whether you've somehow issued a PAPERSIZE=LEGAL option elsewhere in your session as an option?? You could try adding PAPERSIZE=LETTER to your OPTIONS statement.
[pre]
options nonumber nodate missing=' '
bottommargin = "1.in"
topmargin = "1.in"
rightmargin = "1.in"
leftmargin = "1.in" papersize=letter;
[/pre]
If the PAPERSIZE option doesn't fix your issue, you might consider opening a track with Tech Support.
cynthia