LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (February 1998, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 24 Feb 1998 08:58:34 EST
Reply-To:     "Christopher A. Roper" <QLXCAR@AOL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Christopher A. Roper" <QLXCAR@AOL.COM>
Subject:      Re: what part of input() don't I understand?
Comments: To: roy@U.ARIZONA.EDU
Content-type: text/plain; charset=US-ASCII

Roy,

Just a quick reply, but I think you will get the point. Part of the problem is that the variable FORM has already been defined in the SAS program data vector (PDV), and that is why you keep ending up with it being character. Try the following code to see if it does what you want:

data gnu (rename=(_dummy_= form) drop=form); <== Yes, drop FORM

length _dummy_ 3;

set perm.coerc2 ;

_dummy_ = input(form, 3.0) ;

run;

This should get you what you are looking for.

Chris. Christopher A. Roper Qualex Consulting Services, Inc. Chris.Roper@qlx.com www.qlx.com


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