Good morning, I'm triying to start this program but I never have the grafhic, please can you help me? if I need to do something elese or if I have to check some settings?
Many thanks
ods graphics on;
proc freq data=dts_04_3 order=freq;
tables clas_ag*classi / plots=freqplot;
title 'grafico';
run;
ods graphics off;
You are not showing us the whole log.
NOTE: Remote submit to SERV complete.
is from an endrsubmit statement, and
NOTE: Attachments for -2 reestablished for new parent. NOTE: Attachments for -4 reestablished for new parent. NOTE: Multiple messages generated. See LOG window. NOTE: Export Cancelled.
usually happen in a Excel/Access export context.
If you issue the proc freq in a remote (SAS/CONNECT) environment, your local environment won't be able to pick up the HTML output file (sashtml.htm).
Have you checked the log? Are there any unusual notes?
Hi and welcome to the SAS community 🙂
What does your log say?
198 ods graphics on;
199 proc freq data=dts_04_3 order=freq;
200 tables clas_ag*classi / plots=freqplot;
201 title 'grafico';
202 run;
NOTE: Writing HTML Body file: sashtml.htm
NOTE: Non-portable document will be produced. The current settings of FORMCHAR use nonstandard
line-drawing characters and the resulting output file will not render correctly unless all
readers of the document have the SAS Monospace font installed. To make your document portable,
issue the following command:
OPTIONS FORMCHAR="|----|+|---+=|-/\<>*";
NOTE: There were 49566 observations read from the data set WORK.DTS_04_3.
NOTE: The PROCEDURE FREQ printed page 1.
NOTE: PROCEDURE FREQ used (Total process time):
real time 8.70 seconds
cpu time 0.50 seconds
203 ods graphics off;
NOTE: Remote submit to SERV complete.
NOTE: Attachments for -2 reestablished for new parent.
NOTE: Attachments for -4 reestablished for new parent.
NOTE: Multiple messages generated. See LOG window.
NOTE: Export Cancelled.
The solution seems to be already in the log. Is the problem solved by executing the options-statement?
@Tecla1 wrote:
Excuse me ... I'm starting... what is "the options-statement"?
Tnk
OPTIONS FORMCHAR="|----|+|---+=|-/\<>*";
If you're such a new beginner, you absolutely should work through the free Programming 1 e-learning course, so you get a grasp of the essential basics. Before you engage in more sophisticated programming eg with proc freq.
You are not showing us the whole log.
NOTE: Remote submit to SERV complete.
is from an endrsubmit statement, and
NOTE: Attachments for -2 reestablished for new parent. NOTE: Attachments for -4 reestablished for new parent. NOTE: Multiple messages generated. See LOG window. NOTE: Export Cancelled.
usually happen in a Excel/Access export context.
If you issue the proc freq in a remote (SAS/CONNECT) environment, your local environment won't be able to pick up the HTML output file (sashtml.htm).
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.