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 (September 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 25 Sep 2006 18:02:55 +0530
Reply-To:     Ankur Shanker <ankur.shanker@EVALUESERVE.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ankur Shanker <ankur.shanker@EVALUESERVE.COM>
Subject:      Re: Unusual error
Comments: To: Arild.Skogmo@klp.no
Content-Type: text/plain; charset="us-ascii"

Thank you Arild!

The problem was indeed the one mentioned by you.

Bye

From: Arild.Skogmo@klp.no [mailto:Arild.Skogmo@klp.no] Sent: Monday, September 25, 2006 5:49 PM To: Ankur Shanker Subject: Ad: Unusual error

I don't think you can use "eq" in variable assignment, only comparison. Try replacing "eq" with "=".

A

Ankur Shanker <ankur.shanker@EVALUESERVE.COM> Sendt av: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>

25/09/06 14:13

Vennligst send svar til Ankur Shanker <ankur.shanker@EVALUESERVE.COM>

Til

SAS-L@LISTSERV.UGA.EDU

cc

Emne

Unusual error

Hello everyone!

Can anyone please tell me what is wrong with this simple data step :(

It looks fine to me but still an error crops up when i run the code.

data tango2; set tango2; if Account_created_date_SAS lt 16560 then Account_created_date_SAS eq 16560; ------------------------ 180 ERROR 180-322: Statement is not valid or it is used out of proper order.

T1=Last_Active_Date-Account_created_date_SAS; T2=16839-Account_created_date_SAS; run;

NOTE: The SAS System stopped processing this step because of errors.

Thanks and regards Ankur Shanker

DISCLAIMER: The information in this e-mail is the property of Evalueserve and is confidential and privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and will be unlawful. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


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