MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

In SAS, how to modify speicfic fields of perticular records

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
srini_igsi
Beginner


Joined: 12 May 2006
Posts: 41
Topics: 16
Location: Mumbai

PostPosted: Thu Jul 13, 2006 4:39 am    Post subject: In SAS, how to modify speicfic fields of perticular records Reply with quote

Hi,

I have two files like X & Y.
X has 2000 records, consisting of 200 fields.
Y has 20 records , consisting of 10 fields.
Total 6 fields are common.
Field1:: SALESNO is the common unique field in both the files.
Field2-6:: For these 5 fields values are coming from Y file, these 5 values to be updated in X file, remainig fields should be same.
How can i do this?
Please let me know ASAP.
_________________
Thanks,
-Srini
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Jul 13, 2006 7:08 am    Post subject: Reply with quote

srini_igsi,

Go thru this link which has detailed examples of File matching in sas

http://www.ats.ucla.edu/stat/SAS/modules/merge.htm

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri Mar 23, 2018 2:46 pm    Post subject: Reply with quote

Above link does not work so providing a new link

https://stats.idre.ucla.edu/sas/modules/match-merging-data-files-in-sas/
_________________
Regards,
Diba
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group