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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.