The example uses an existing SAS dataset named 'creditqualify' stored in the 'mycaslib' library, which is a CAS library. The code for creating this table is not provided in the documentation but is implicitly assumed to exist.
1 Code Block
PROC EXPORT
Explanation : This code block uses the EXPORT procedure to export the CAS table 'mycaslib.creditqualify'. The OUTFILE option specifies the full path where the CSV file will be saved. The DBMS=csv option indicates that the output format should be a CSV file. The REPLACE option allows overwriting the 'CreditQualify.csv' file if it is already present in the specified directory. It is crucial to replace 'your-file-path' with a valid path on the system.
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
« The PROC EXPORT utility is the standard for bridging the gap between high-performance SAS environments and local file systems. When working with CAS tables (as indicated by the mycaslib prefix), it is important to understand that SAS must first move the distributed data from the CAS worker nodes back to the SAS Compute Server before generating the physical CSV file. »
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.