以在上交所網(wǎng)站上通過SAS下載上證50每日的PCF清單為例:
filename etf url 'http://www.sse.com.cn/sseportal/webapp/datapresent/ETF50downlad?SEQ_ID=12889' RECFM=v lrecl=1000;
data _tmp;
file _webout;
infile etf length=len;
length content $32766. ;
input content $varying32766. len;
run;