BookmarkSubscribeRSS Feed
GN0001
Barite | Level 11
Proc report Data=libname.thisdata NOWINDOWS Headline headskip;
column id  LNAME FNAME BIRTH_DATE GENDER group status;
Define group/ Group 'Grouped by something';
BREAK AFTER PROV_ID/ summarize OL SKIP;
RBREAK AFTER/ SUMMAIZE OL SKIP;
Define status/ Across;
TITLE 'today title';
run;

Hello team,

This code does not give any errors, but it doesn't provide any results either. It only displays title in the result tab of SAS eg 7.0.

Regards,

Blue blue

Blue Blue
3 REPLIES 3
SASKiwi
PROC Star

Please note the misspelling in this statement:

RBREAK AFTER/ SUMMAIZE OL SKIP;

Did you check your SAS log for errors? SUMMAIZE should be SUMMARIZE.

Tom
Super User Tom
Super User

Also how can you 

BREAK AFTER PROV_ID/ summarize OL SKIP;

When PROV_ID is not listed in the COLUMN statement?

ballardw
Super User

Why is the subject "Proc Print" when the code shown is "Proc Report"?

 

Where is LOG. Just because it doesn't show errors the log still is likely to show something about why no output is generated. So include the LOG with ALL the code, notes and messages associated with the procedure call.

 

Nothing like seeing something like this to clarify why no output was generated:

26
27   proc report data=junk;
28   run;

NOTE: No observations in data set WORK.JUNK.
NOTE: No observations in input data set.

Run a report on an empty set => empty report.

So, show the log.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 3 replies
  • 353 views
  • 0 likes
  • 4 in conversation