Please try reposting the code using the code format box. The little box at the top of the text entry area that has the SAS "run" icon. It will accept the code as formatted (hopefully) from SAS and maintain indents and such for readability.
@ballardw wrote:%let destn =&csg_basepath./users/; ods listing close; options nodate nonumber; ods escapechar="^"; options papersize=(7in 7in); ods pdf notoc startpage=no file="&destn./RWITest4.pdf"; title "^{style [ just=center font_size=6pt backgroundcolor=cxccffff font_weight=bold font_face=arial] Summary Report for CCS, DWH and HSR}"; data _null_; set sashelp.class end=eof; if _n_ = 1 then do; dcl odsout adj(); adj.table_start(overrides: "width=7in"); end; adj.row_start(); adj.format_cell(data: "Member Name: ", overrides: "color=red just=left width= 1.0in height=3mm font_size=6pt"); adj.format_cell(data: name, overrides: "color=blue just=left width= 1.0in height=3mm font_size=6pt"); adj.format_cell(data: "Sex: ", overrides: "color=red just=left width= 1.0in height=3mm font_size=6pt"); adj.format_cell(data: sex, overrides: "color=blue just=left width= 1.0in height=3mm font_size=6pt"); adj.row_end(); adj.row_start(); adj.format_cell(data: "Age: ", style_attr: "color=red just=left "); adj.format_cell(data: age, style_attr: "color=blue just=left "); adj.row_end(); adj.row_start(); adj.format_cell(data: "Height: ", style_attr: "color=red just=left "); adj.format_cell(data: height, style_attr: "color=blue just=left "); adj.row_end(); adj.row_start(); adj.format_cell(data: "Weight: ", style_attr: "color=red just=left "); adj.format_cell(data: weight, style_attr: "color=blue just=left "); adj.row_end(); if eof then do; adj.table_end(); end; run; ods pdf close;
Please try reposting the code using the code format box. The little box at the top of the text entry area that has the SAS "run" icon. It will accept the code as formatted (hopefully) from SAS and maintain indents and such for readability.
My IE was the issue. It's been upgraded so hopefully the text will be formatted. I can see the run icon now and preview the message.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.