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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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