Hi Tom,
I normally read in (irregular) daily data as:
OPEN DATA "path to file name"
DATA start end
How do I fill-in a numeric "end" value without actually specifying the numeric "end" in the DATA statement, i.e. is there a way to know the length-of-the-input-file from OPEN DATA and assign an "end" via e.g. COMPUTE?
Cheers,
Amarjit
Reading in Daily data
Re: Reading in Daily data
Just leave it blank and it will read the entire file. You can then use
compute end=%allocend()
to find how long the data set was.
compute end=%allocend()
to find how long the data set was.