Date: Fri, 4 Aug 2006 15:07:09 +0000
Reply-To: iw1junk@COMCAST.NET
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ian Whitlock <iw1junk@COMCAST.NET>
Subject: Re: Strange include-problem
Heman,
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.
Ian Whitlock
===================
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
Hi there!
I have a funny problem. I have this program (main), in which I
create two
datasets. I want to do certain things to these datasets, using
two
different programs (base and focus). In both base and focus there
other
datasets are created, using "cards".
When I run my main program, then run my base program, and then
run my
focus program (separatly), everything works like a charm. But
when I
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.
3554CHAR ..20..22..601..9999999..2..2..-0.4340
ZONE
00330033003330033333330030030023233332222222222222222222222222222
2222222222
22222
NUMR
992099229960199999999999299299D0E43400000000000000000000000000000
0000000000
00000
NOTE: Invalid data errors for file CARDS occurred outside the
printed
range.
NOTE: Increase available buffer lines with the INFILE n= option.
ageLow=. ageHigh=. incomeLow=. incomeHigh=. inqPeriodsLow=. ....
Any ideas? Thanks!!
|