BookmarkSubscribeRSS Feed
Rcuevas
Fluorite | Level 6

Hi SAS Community:

 

I'm trying to print info from a created table (that I borrowed for testing) located in the same Store Process, I have this code:

 

Title 'Weight Club';
data weight_club;
     input IdNumber Name Team StartWeight EndWeight;
     datalines;
          1023 David_Shaw red 189 165
          1049 Amelia_Serrano yellow 145 124
          1219 Alan_Nance red 210 192
          1246 Ravi_Sinha yellow 194 177
          1078 Ashley_McKnight red 127 118
          1221 Jim_Brown yellow 220 115
     ;
proc print data=weight_club;
run;

 

After trying several times (and various error messages) I finally got it right... except no data is displayed by the proc print statement in Stored Process Web Application.

 

What am I doing wrong here?

 

 Thank you

1 REPLY 1
Vince_SAS
Rhodochrosite | Level 12

Are you using the STPBEGIN/STPEND macros?  If not, did you write your own ODS statements to direct the output to the _WEBOUT FILEREF?

 

SAS 9.4 Integration Technologies / SAS Stored Processes: Developer's Guide
Overview of Writing a Stored Process

 

http://go.documentation.sas.com/?cdcId=itechcdc&cdcVersion=9.4&docsetId=stpug&docsetTarget=p1oombeff...

 

Vince DelGobbo

SAS R&D

SAS Innovate 2025: Register Today!

 

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1268 views
  • 0 likes
  • 2 in conversation