*
; /* From: preziosi@vcnam.cnam.fr@cnam.fr (Paul PREZIOSI) Subject: Re: Help with macro problem Date: 23 Jan 1996 15:52:29 GMT Organization: Conservatoire National des Arts et Metiers, Paris, France References: <4dp795$7uu@noc2.drexel.edu> Reply-To: preziosi@vcnam.cnam.fr (Paul PREZIOSI) I agree with other to say that the "point=" option of the set statement requires a variable name rather than a value. But I should raise another remark: Your macro uses &lastline data steps while it could use only one to achieve the same task: */ %macro makfiles; data temp; set prslogic; if _N_ <= &lastline; call symput( j, _N_ ); file "...\iflog&j.dat"; put ifstmt; run; %mend makfiles; *;