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

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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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