| Date: | Thu, 27 Jan 2005 20:53:37 -0000 |
| Reply-To: | MA015b8234 <ma015b8234@BLUEYONDER.CO.UK> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | MA015b8234 <ma015b8234@BLUEYONDER.CO.UK> |
| Subject: | Use of put function |
| In-Reply-To: | <1106849718.523927.322010@z14g2000cwz.googlegroups.com> |
| Content-Type: | text/plain; charset="US-ASCII" |
Dear SAS-L Contributors:
Another question. I am trying to run this query:
proc sql ;
create table acn as
select a.* , b.APS
from All as a,
All_c as b
where put(a.FBD_Month, $8.) = put(b.FBD_Month,$8.) ;
quit ;
FBD_month is in the format MONYY7. I get an error
ERROR: Character format $ in PUT function requires a character argument.
ERROR: Character format $ in PUT function requires a character argument.
I need to convert the FBD month in Character form to solve my problem. I
thought put function converts numeric data into character form but it is not
working.
Thanks for your help in advance.
John
|