Date: Fri, 18 Nov 2005 05:31:00 -0500
Reply-To: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject: Re: log creation
that seems to be a syntax problem. Show that with MPRINT and SYMBOLGEN and
you'll see what is wrong.
On Fri, 18 Nov 2005 10:23:04 Z, Dirk Nachbar <Dirk.Nachbar@DWP.GSI.GOV.UK>
wrote:
>For some reason SAS doesn't like the 'input &x' below but i don't know why
>
>rsubmit;
>%macro test;
>%let x= 1 $;
>%do i=2 %to 100;
> %let x= &x &i $ ;
>%end;
>%mend;
>%test;
>
>data r000000.log1;
> input &x;
> datalines;
>1 2
>;
>run;
>endrsubmit;
>
>
>
>Dirk Nachbar
>Assistant Economist
>Pensim2
>Department for Work and Pensions
>Level 4, The Adelphi
>1-11 John Adam St
>WC2N 6HT London
>020 796 28531
>**********************************************************************
>This document is strictly confidential and is intended only for use by the
addressee.
>If you are not the intended recipient, any disclosure, copying,
distribution or other
>action taken in reliance of the information contained in this e-mail is
strictly prohibited.
>Any views expressed by the sender of this message are not necessarily those
of the Department
>for Work and Pensions.
>If you have received this transmission in error, please use the reply
function to tell us
>and then permanently delete what you have received.
>Please note: Incoming and outgoing e-mail messages are routinely monitored
for compliance
>with our policy on the use of electronic communications.
>**********************************************************************
>
>
>
>The original of this email was scanned for viruses by the Government Secure
Intranet (GSi) virus scanning service supplied exclusively by Cable &
Wireless in partnership with MessageLabs.
>
>On leaving the GSi this email was certified virus-free
|