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!!!!

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!
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
  • 438 views
  • 1 like
  • 2 in conversation