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 (December 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 8 Dec 1999 08:48:18 -0500
Reply-To:   Dennis Diskin <Dennis.Diskin.B@BAYER.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Dennis Diskin <Dennis.Diskin.B@BAYER.COM>
Subject:   Re: Strange data-step-problem
Comments:   To: SAS-L@LISTSERV.VT.EDU
Content-Type:   text/plain

I'm afraid that you are not providing enough information on what you are doing. The logic overview as you specify should work but, the details of the code may be wrong.

Dennis Diskin

"DDA.RFC-822=SAS-L@VM.MARIST.EDU/P=Internet/A= /C=us" on 12/07/99 05:09:39 AM Please respond to "G=Achim/S=Steup/O=POST/P=RWTH-AACHEN/A=d400-gw/C=de" @ X400 To: "DDA.RFC-822=SAS-L@VM.MARIST.EDU/P=Internet/A= /C=us"@X400 cc:

Subject: Strange data-step-problem

Dies ist eine mehrteilige Nachricht im MIME-Format. --------------47410A44A80E4C8339E8B8BF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit

Hi Everybody,

Has anyone out there noticed the following problem (or a solution to it): I want do separate a variable with 4 levels into 4 single variable, which are set to 1 if the level is present ant missing elsewhere. the original variable, called _82, has the following frequencies: Level Freq 1 733 2 45 3 164 4 197. If I try to create the 4 variables as _82_1 to _82_4, like this if _82=1 then _82_1=1; else if _82=2 then _82_2=1; else if _82=3 then _82_3=1; else if _82=4 then _82_4=1; then these variables get strange values: var freq _82_1 755 _82_2 50 _82_3 187 _82_4 198 With any other variable names this problem does not occur. Any Suggestions?

Thanks in advance,

--------------47410A44A80E4C8339E8B8BF Content-Type: text/x-vcard; charset=us-ascii; name="Achim.Steup.vcf" Content-Transfer-Encoding: 7bit Content-Description: Visitenkarte f|r Achim Steup Content-Disposition: attachment; filename="Achim.Steup.vcf"

begin:vcard n:Steup;Achim tel;fax:+49 241 8888477 tel;home:+49 241 34896 tel;work:+49 241 8088280 x-mozilla-html:FALSE org:Klinikum der RWTH Aachen;Institut f|r Hygiene und Umweltmedizin adr:;;Pauwelsstr. 30;Aachen;NRW;52074;D version:2.1 email;internet:achim.steup@post.rwth-aachen.de title:Dipl.-Stat. x-mozilla-cpt:;-6608 fn:Dipl.-Stat. Achim Steup end:vcard

--------------47410A44A80E4C8339E8B8BF-- -------


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