BookmarkSubscribeRSS Feed
jplarios
Quartz | Level 8
I have a data _null in an stp like this:

data _null_;
file _webout;
length string $1024;

string =

' click Graph';
put string;
run;
I am trying to make this string on the bottom, however it always goes to the top of the page.
Any help?
Thanks
jp
5 REPLIES 5
Vince_SAS
Rhodochrosite | Level 12
What other code do you have in the stored process?

Vince DelGobbo
SAS R&D
jplarios
Quartz | Level 8
Vince,

Well, I guess it helps to give a 'complete' picture.
the null data step actually is called upon by a macro:

%start

data _null_;
file _webout;
..etc.
put string;
run;
%end
Vince_SAS
Rhodochrosite | Level 12
Besides what is written by the DATA Step, is there any other HTML text on the page?

Vince DelGobbo
SAS R&D
Cynthia_sas
SAS Super FREQ
Hi:
I remember that, when working with stored processes and the Platform with SAS 9.1.3, there was a "timing" issue with PUT statements using _webout. I'm not sure whether there's still an issue with SAS 9.2,

There are some of the the notes that discuss _webout and stored processes:
http://support.sas.com/kb/23/970.html (why output is out of sequence)
http://support.sas.com/kb/13/599.html

cynthia
jplarios
Quartz | Level 8
Yes, there was other HTML on the page which were some parameters. I wanted to have the put string on the bottom of the parameters once the last parameter was updated.

I changed the code to output a different page with the output.

Thanks Cynthia for the notes. I did not know about the put timing issue, so I changed the code as mentioned above so I avoid that.

jp

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

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.

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
  • 5 replies
  • 995 views
  • 0 likes
  • 3 in conversation