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 (October 2011, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 3 Oct 2011 10:15:40 -0300
Reply-To:   Ricardo Goncalves Silva <ricardo-goncalves.silva@ITAU-UNIBANCO.COM.BR>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Ricardo Goncalves Silva <ricardo-goncalves.silva@ITAU-UNIBANCO.COM.BR>
Subject:   Agregation - Help on Code
Content-Type:   text/plain; charset="iso-8859-1"

________________________________ Uso Interno. Observar critérios da circular Itaú AG-33. ________________________________

Hi, I wrote the following code to do an aggregation job. But doesn't run. Any help?

DATA LIB.DADOS_TRI; SET LIB.BASE_PES_PJ_NC; VTG=.; IF VINTAGE IN (200708 200709 200710) THEN VTG='Q1'; IF VINTAGE IN (200711 200712 200801) THEN VTG='Q2'; IF VINTAGE IN (200802 200803 200804) THEN VTG='Q3'; IF VINTAGE IN (200805 200806 200807) THEN VTG='Q4'; IF VINTAGE IN (200808 200809 200810) THEN VTG='Q5'; IF VINTAGE IN (200811 200812 200901) THEN VTG='Q6'; IF VINTAGE IN (200902 200903 200904) THEN VTG='Q7'; IF VINTAGE IN (200905 200906 200907) THEN VTG='Q8'; IF VINTAGE IN (200908 200909 200910) THEN VTG='Q9'; IF VINTAGE IN (200911 200912 201001) THEN VTG='Q10'; IF VINTAGE IN (201002 201003) THEN VTG=Q11; RUN;

Thanks, Rick.

"Esta mensagem e reservada e sua divulgacao, distribuicao, reproducao ou qualquer forma de uso e proibida e depende de previa autorizacao desta instituicao. O remetente utiliza o correio eletronico no exercicio do seu trabalho ou em razao dele, eximindo esta instituicao de qualquer responsabilidade por utilizacao indevida. Se voce recebeu esta mensagem por engano, favor elimina-la imediatamente."

"This message is reserved and its disclosure, distribution, reproduction or any other form of use is prohibited and shall depend upon previous proper authorization. The sender uses the electronic mail in the exercise of his/her work or by virtue thereof, and the institution accepts no liability for its undue use. If you have received this e-mail by mistake, please delete it immediately."


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