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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 1180 views
  • 0 likes
  • 2 in conversation