BookmarkSubscribeRSS Feed
carstenenevoldsen
Calcite | Level 5

I am developing HTML-code for SAS IntrNet.

For debugging, I have used a line like this:

put '<input type="hidden" name="_debug" value="131">';

Now I can't avoid getting log-output even if I inactivate or delete this line.

Any inactivation option somewhere?

Carsten

2 REPLIES 2
PhilC
Rhodochrosite | Level 12

Inactivation? Maybe... This is possible. You can choose to send all of your output to a nul device on your operating system


file outfile 'NUL';

/*filename outfile 'Ussual_file.html';*/


data
_null_;

     set sashelp.cars;

     file outfile encoding="utf-8";

     put Make Model Year;

run;

PhilC
Rhodochrosite | Level 12

  Or if you want, comment out certain put statements using a macro variable which comments out lines when it holds an asterisk;

%let debug=*;

    

data _null_;

   input idno name $ startwght 3.;

    put name @;

   &debug

     if startwght ne . then

          put @15 startwght;

      &debug

                     else put;

     datalines;

032 David 180

049 Amelia 145

126 Monica

219 Alan 210

;

run;

sas-innovate-2024.png

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.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 781 views
  • 0 likes
  • 2 in conversation