Date: Thu, 16 Jun 2011 15:28:01 -0500
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Subject: Re: DATALINES within a macro?
In-Reply-To: <F433BF18D811E745B79191E749A6DAF1028FE43F@stcem16.statcan.ca>
Content-Type: text/plain; charset=ISO-8859-1
I believe there are restrictions against datalines in a macro, yes. You can
write text to a temporary file and then input from that temporary file just
as easily.
-Joe
On Thu, Jun 16, 2011 at 3:16 PM, Clapson, Andrew - PPD/DPP <
Andrew.Clapson@statcan.gc.ca> wrote:
> Hi all,
>
> I am having issues trying to use the 'DATALINES' statement within a
> macro.
> Is this not allowed, I guess?
>
> If it's not permitted, what is an alternative command that will work for
> me here?
> Or is it entirely possible and I'm just employing it incorrectly?
>
> Thanks for your help,
>
> Andy Clapson
>
|