The example demonstrates the creation of a SAS
© macro named %LOAD that takes a list of table names as a parameter. For each table provided, the macro generates a
DATA step that reads the specified CAS table (via the MYCAS
libref) and creates a corresponding SAS
© table (via the MYSAS
libref). This is particularly useful for automating the process of converting or copying many tables between the CAS environment and the local SAS
© environment.
Data Analysis
Type : SASHELP_ET_CREATION_INTERNE
Initial examples load datasets from the SASHELP library (CLASS, CARS, AIR) into CAS tables. The generated examples can use these CAS tables or create new ones via DATA Steps with DATALINES.