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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 680 views
  • 1 like
  • 2 in conversation