[prev in list] [next in list] [prev in thread] [next in thread]
List: sas-l
Subject: Re: Variable x has been defined as both character and numeric
From: Bhavani Shankar <bhavani.shankar () INDIA ! BIRLASOFT ! COM>
Date: 2004-11-30 12:11:43
[Download RAW message or body]
I have a data statement as follows
data outdata.&busname._sched&year&month
outdata.&busname._schedbad&year&month
outdata.&busname._exclusions&year&month;
format dateadded lease_begin_date mmddyy10. mthstomaturity 5.;
set &data;
on every iteration &Data is substituted by A , B , C ,D.
And i need to consider the variable lease_begin_date only when &Data
resolves to C (Set C)AND THE DATASET A DOESN'T HAVE THE VARIABLE
LEASE_BEGIN_DATE.
and for the remaining datasets ( from SET B and SET D) I don't
need the variable lease_begin_date and the data set A doesn't have it.
How to drop this variable.
If i don't drop i am getting an error for SET A ,SET B and SET D..
ERROR: Variable lease_begin_date has been defined as both character and
numeric.
Thanks in advance.
Disclaimer: 'This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the system
manager. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of the
company. Finally, the recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any damage
caused by any virus transmitted by this email.'
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic