24.04.2014 Views

Pratique de Sas Windows ...9.3 Volume 2 - Ined

Pratique de Sas Windows ...9.3 Volume 2 - Ined

Pratique de Sas Windows ...9.3 Volume 2 - Ined

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

36 proc import out=BE2003BIN replace<br />

37 datafile="D:\tab<strong>Sas</strong>\baseenquete2003.xlsb" dbms=excelcs;<br />

38 sheet="pupilles2003" ;<br />

39 run;<br />

NOTE: WORK.BE2003BIN data set was successfully created.<br />

NOTE: The data set WORK.BE2003BIN has 3677 observations and 20<br />

variables.<br />

NOTE: PROCEDURE IMPORT used (Total process time):<br />

real time<br />

0.57 secon<strong>de</strong>s<br />

cpu time<br />

0.06 secon<strong>de</strong>s<br />

• Métho<strong>de</strong> libname<br />

libname aa pcfiles path="D:\tab<strong>Sas</strong>\valois.xls" ;<br />

data val;<br />

set aa."Feuil1$"n;<br />

run;<br />

libname aa clear;<br />

8 libname aa pcfiles path="D:\tab<strong>Sas</strong>\valois.xls" ;<br />

NOTE: Libref AA was successfully assigned as follows:<br />

Engine: PCFILES<br />

Physical Name: D:\tab<strong>Sas</strong>\valois.xls<br />

::::::<br />

15 data val;<br />

16 set aa."Feuil1$"n;<br />

17 run;<br />

NOTE: There were 3 observations read from the data set AA.'Feuil1$'n.<br />

NOTE: The data set WORK.VAL has 3 observations and 2 variables.<br />

NOTE: L'étape DATA used (Total process time):<br />

real time<br />

0.12 secon<strong>de</strong>s<br />

cpu time<br />

0.03 secon<strong>de</strong>s<br />

18 libname aa clear;<br />

NOTE: Libref AA has been <strong>de</strong>assigned.<br />

libname bb pcfiles path="D:\tab<strong>Sas</strong>\baseenquete2003.xlsb" ;<br />

data BE2003BINlib;<br />

set bb."pupilles2003$"n;<br />

run;<br />

libname bb clear;<br />

44 libname bb pcfiles path="D:\tab<strong>Sas</strong>\baseenquete2003.xlsb" ;<br />

NOTE: Libref BB was successfully assigned as follows:<br />

Engine: PCFILES<br />

Physical Name: D:\tab<strong>Sas</strong>\baseenquete2003.xlsb<br />

45 data BE2003BINlib;<br />

46 set bb."pupilles2003$"n;<br />

47 run;<br />

NOTE: There were 3677 observations read from the data set<br />

BB.'pupilles2003$'n.<br />

NOTE: The data set WORK.BE2003BINLIB has 3677 observations and<br />

20 variables.<br />

NOTE: L'étape DATA used (Total process time):<br />

real time<br />

0.31 secon<strong>de</strong>s<br />

cpu time<br />

0.01 secon<strong>de</strong>s<br />

48 libname bb clear;<br />

NOTE: Libref BB has been <strong>de</strong>assigned.<br />

206 <strong>Pratique</strong> <strong>de</strong> <strong>Sas</strong> windows ….93 <strong>Volume</strong> 2 et Coll.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!