Date: Fri, 4 Aug 2006 15:07:09 +0000
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ian Whitlock <iw1junk@COMCAST.NET>
Subject: Re: Strange include-problem
I note that your cards data includes the TAB character.
It would not surprise me to find that the SAS editor
properties have been set to do the correct thing for
tabs, while to %INCLUDE is just another character and
does not do the correct thing.
If this doesn't help then you might try to simplify your
problem to a simple example, say 5 records, 5 variables,
and two DATA steps which work when run in the editor but
not when run with %INCLUDE.
Date: Fri, 4 Aug 2006 03:52:10 -0400
Reply-To: Heman Hunters <hemanhunters@GMAIL.COM>
Sender: "SAS(r) Discussion"
From: Heman Hunters <hemanhunters@GMAIL.COM>
Subject: Strange include-problem
I have a funny problem. I have this program (main), in which I
datasets. I want to do certain things to these datasets, using
different programs (base and focus). In both base and focus there
datasets are created, using "cards".
When I run my main program, then run my base program, and then
focus program (separatly), everything works like a charm. But
include base and focus in my main program (using '%
include 'C:\SAS\base.sas') I get the following error message:
NOTE: Invalid data for ageLow in line 3547 1-30.
NOTE: Invalid data for ageHigh in line 3548 1-29.
NOTE: Invalid data for incomeLow in line 3549 1-35.
NOTE: Invalid data for incomeHigh in line 3550 1-34.
NOTE: Invalid data for inqPeriodsLow in line 3552 1-33.
NOTE: Invalid data for inqPeriodsHigh in line 3553 1-38.
NOTE: Invalid data for beta1 in line 3554 1-37.
NOTE: Invalid data errors for file CARDS occurred outside the
NOTE: Increase available buffer lines with the INFILE n= option.
ageLow=. ageHigh=. incomeLow=. incomeHigh=. inqPeriodsLow=. ....
Any ideas? Thanks!!