Search Results

725 résultats trouvés Page 29 / 73
Code SAS
Voir

From Local Work to CAS: 4 Essential Scripts for SAS Viya Table Promotion

This feature allows creating a copy of an existing table loaded into memory within a SAS Cloud Analytic Services (CAS) environment. The copy can be made within the same caslib (CAS library) or to another caslib, with options to specify the new table's name, replacement, and other properties.

Code SAS
Voir

High-Performance Aggregation in SAS Viya: Mastering CAS GroupBy Actions

This example groups the CreditQualify table by State variables and State FIPS codes, then uses Credit_Score as a weighting variable. The resulting group-by table is saved as ScorePerState.sashdat in the active caslib for later use.

Code SAS
Voir

Clean Data on Ingest: How to Transform Dates and Percentages Directly into CAS

This SAS script demonstrates how to load a CSV file from a CAS caslib and apply SAS informats to correctly interpret data types, including dates and formatted numeric values (such as commas or percentages).

Code SAS
Voir

Bridge the Gap: Reading and Writing Excel Files Directly from the CAS Server

The PC Files Data Connector allows SAS Cloud Analytic Services (CAS) to access data stored in common PC file formats, such as Microsoft Excel spreadsheets or Microsoft Access databases. It facilitates loading and unloading data between the client's file system or a caslib and in-memory CAS tables.

Code SAS
Voir

From CSV to Memory: A Quick Start Guide to Loading Data with PROC CASUTIL

The CASUTIL procedure provides management functions for caslibs and tables in SAS Cloud Analytic Services (CAS). It allows viewing table metadata, deleting files, unloading tables, listing tables, loading tables, promoting tables to global scope, and saving tables to a data source.

Code SAS
Voir

The 'Factory Reset' for Permissions: Using remAllAcsData to Clean Up CAS Tables

This feature allows you to remove all direct access controls applied to a CAS table, thus reverting it to inherit its permissions from the parent caslib. It does not affect column-level access controls.

Code SAS
Voir

From Memory to Disk: The Complete Guide to Saving CAS Tables as SAS7BDAT

This example shows how to use the 'save' action and the 'exportOptions' parameter to save an in-memory table as a SAS data set to a caslib. The code sets the active caslib to 'CASUSER' because this personal caslib is file-system based.

Code SAS
Voir

Bypass the Parser: How to Run Native Database SQL Directly in SAS Viya

This example illustrates how to use the CONNECTION TO component of the FROM clause of a FedSQL SELECT statement to select data, allowing explicit pass-through of database-specific SQL queries to an external data source (here simulated by Teradata) via a caslib.

Code SAS
Voir

Stop Struggling with Data Ingestion: Efficiently Move CSVs to Memory with PROC CASUTIL

The CASUTIL procedure offers several table and caslib management functions, including displaying table metadata, deleting files, unloading and loading tables, promoting tables, and saving tables.

Code SAS
Voir

Loading and Manipulation of Baseball Data in CAS

cas sessopts=(metrics=true); caslib _all_ assign;