Hi,
I am trying to create a rtf or pdf file using some existing lst outputs. It is producing rtf or pdf by the following code segement but the page is not fitting to the PDF or RTF according to LST file. That means page break is not working properly even I used PS and LS as the options. So would you please help me in this regard so that I can create a RTF/PDF according to the existing LST files.
Thanks in advance!
Here is my program:
proc document name=import(write); import textfile='D:\study\study_001\lst\disp_t1.lst' to ^; setlabel textfile 'Table 1: 1 Test Table - 1'; import textfile='D:\study\study_001\lst\disp_t2.lst' to ^; setlabel textfile 'Table 3: 1 Test Table - 2'; list/details; obpage textfile /after; run; options nodate nostimer papersize=a4 orientation=landscape topmargin=".8in" leftmargin=".5in" rightmargin=".5in" bottommargin=".5in"; ods rtf file="D:\study\study_001\lst\rtf\test1.rtf" contents=yes toc_data; replay; run; ods rtf toc_data; quit; ods rtf close;
Regards,
Jabrul
... View more