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?
Content-type: text/plain; charset=US-ASCII
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) ;
This should get you what you are looking for.
Christopher A. Roper
Qualex Consulting Services, Inc.