LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2004, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 30 Jan 2004 23:26:43 -0500
Reply-To:     Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:      Re: help needed replacing variable attributes.
Comments: To: no.spam@HERE.PLEASE

Are you using the word "attribute" casually, as a synonym for "value"? That's not a good idea.

A variable's attributes are properties of the entire "column", like number of bytes, or format.

A variable's values are the data content, which generally differs from row to row.

If you really mean "attribute", please clarify what you need to do.

On Fri, 30 Jan 2004 22:52:57 -0000, davy <no.spam@HERE.PLEASE> wrote:

>I have a dataset with well over two hundered variables. > >All of the variables are character. > >What I would like to do is to replace each instance where a variable >attribute is a "T","N" or "_" with the letter "Y". > >Is there anyway i can do this with a global statement or something (rather >than laboriously typing out 'if statements' for each variable). > >I would appreciate any help. > >Thanks for your time. > >Davy


Back to: Top of message | Previous page | Main SAS-L page