Date: Fri, 28 Mar 2003 13:39:33 -0500
Reply-To: Robert Virgile <virgile@RCN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Robert Virgile <virgile@RCN.COM>
Subject: Re: End of file with cards4 statement
Content-Type: text/plain; charset="us-ascii"
A couple of ways. You could put the data into a separate file, instead
of imbedding it into the program. But actually, that is not necessary.
When you use a cards statement, you are permitted to use an infile
infile cards end=whatever;
From: SAS(r) Discussion [mailto:SAS-L@listserv.uga.edu] On Behalf Of
Deshon, Joe A [PCS]
Sent: Friday, March 28, 2003 1:30 PM
Subject: End of file with cards4 statement
Is there a way to detect the end of file while using a cards4 statement?
There is no infile statement to put an end= option. I need to use a
because my data has embedded semi-colons.
I guess I could use a dummy stopper-records, like all 9's or something
that. But I was looking for something a little more elegant.
Manager, Advanced Applications Development
PCS Marketing & Sales Analysis Group
6130 Sprint Parkway
Overland Park KS 66251
Work: (913) 762-6172
PCS: (816) 210-0950
Fax: (913) 762-0804