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.

The CV2VIEW Procedure 4 Example 3: Converting a Library of View Descriptors <strong>for</strong> All Supported DBMSs 889Example 3: Converting a Library of View Descriptors <strong>for</strong> All SupportedDBMSsIn this example PROC CV2VIEW converts all view descriptors that are in the inputlibrary and that access data in any supported DBMS. If an error occurs during theconversion of a view descriptor, then the procedure moves to the next view. The PROCSQL statements that are generated by PROC CV2VIEW are automatically submittedbut are not saved to an external file (because the SAVEAS= statement is not used).libname input ’/username/descriptors/’;libname output ’/username/sqlviews/’;proc cv2view dbms=all;from_libref = input;to_libref = output;run;

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

Saved successfully!

Ooh no, something went wrong!