BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
berrimochi
Calcite | Level 5

I would like to proc print the labels i created but only print 10 obs. How do i do that? Much help is appreciated 🙂

 

format Incident_Date Date_Received date9. Close_Amount Dollar20.2;
label Airport_Code="Airport Code"
	Airport_Name="Airport Name"
	Claim_Number="Claim Number"
	Claim_Site="Claim Site"
	Claim_Type="Claim Type"
	Close_Amount="Close Amount"
	Date_Issues="Date Issues"
	Date_Received="Date Received"
	Incident_Date="Incident Date"
	Item_Category="Item Category";
	
proc options option=label;
run;

proc print data=tsa.claims_cleaned label; (obs=10);
run;
1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ
proc print data=tsa.claims_cleaned(obs=10) label; run;

obs= is a data set option!

View solution in original post

2 REPLIES 2
sbxkoenk
SAS Super FREQ
proc print data=tsa.claims_cleaned(obs=10) label; run;

obs= is a data set option!

berrimochi
Calcite | Level 5
Thank you so much!!!!

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!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 511 views
  • 1 like
  • 2 in conversation