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

I am trying to sort a file and copy the sorted contents to another file. After running the file the Address column has no observation. The log also shows no error. I have copied my code below. 

 

libname orion "/folders/myfolders/project";
proc sort data= orion.fullerton_edited out=orion.fullerton_edited1;
by Address;
run;


1.png
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Missing is sorted to the first observation. Check further records in your data. 

View solution in original post

2 REPLIES 2
Reeza
Super User

Missing is sorted to the first observation. Check further records in your data. 

art297
Opal | Level 21

Look at the original file, see if there is a field called 'address' and whether that field has any data in it. All of the address fields you showed in your pdf were called site_address_whatever.

 

Art, CEO, AnalystFinder.com

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 864 views
  • 0 likes
  • 3 in conversation