13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

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.

860 Using the DATASETS Procedure 4 Chapter 29Output 29.14Using the PRINT and MEANS ProceduresNumber of Passengers per Flight by Date----------------------------- FLIGHT=132 DEST=YYZ ------------------------------DATEBOARDED01MAR1998 11502MAR1998 10603MAR1998 7504MAR1998 11705MAR1998 15706MAR1998 15007MAR1998 164--------- -------FLIGHT 884----------------------------- FLIGHT=219 DEST=LON ------------------------------DATEBOARDED01MAR1998 19802MAR1998 14703MAR1998 19704MAR1998 23205MAR1998 16006MAR1998 16307MAR1998 241--------- -------FLIGHT 1338Maximum Number of Passengers per FlightThe MEANS ProcedureAnalysis Variable : BOARDEDFLIGHT N Obs Max132 7 164.0219 7 241.0Using the DATASETS ProcedureThis example uses the DATASETS procedure to view a list of DBMS tables, in thiscase, in an Oracle database.Note: The MODIFY and ALTER statements in PROC DATASETS are not available<strong>for</strong> use with librefs that refer to DBMS data. 4libname mydblib oracle user=testuser password=testpass;title ’Table Listing’;proc datasets lib=mydblib;contents data=_all_ nods;run;

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

Saved successfully!

Ooh no, something went wrong!