A couple of quick things.
First, you should have explicit keep= lists on you data sets (eg DATA sasdata.daily (keep=ticker bido asko...) )otherwise each of the datasets ends up with variables that do not belong.
Second, you use trailing @@ on some of your inputs. This tells sas to 'hold onto this line across the data step loops'. Since you explicitly give a line length, I assume each instance of each record (except the header)is on a different line so both (and possibly neither) of the trailing @@ are required
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.