builtins echo

Debugging Missing Values and Mixed Data Types in ETL

Scénario de test & Cas d'usage

Business Context

An ETL pipeline handles raw retail data which often contains missing values (nulls) and inconsistent data types (strings mixed with numbers). A developer is debugging a failure in a downstream calculation action. They use `echo` to inspect exactly how the CAS server interprets a heterogeneous list containing NaNs, nulls, and mixed types before it reaches the logic layer.
About the Set : builtins

Fundamental CAS server system commands.

Discover all actions of builtins
Data Preparation

No external data needed; internal variable testing.

Copied!
1/* No
2Data Step required for this variable inspection test */

Étapes de réalisation

1
Define a list with Edge Cases: Nulls, missing values, and mixed types.
Copied!
1 
2PROC CAS;
3 
4mixedList = {10, "StringValue", ., {nested=1}, .M};
5 
6 
7RUN;
8 
2
Execute echo to visualize the internal representation of missing values.
Copied!
1PROC CAS;
2 mixedList = {10, "StringValue", ., {nested=1}, .M};
3 BUILTINS.echo / debug_data=mixedList;
4 RUN;

Expected Result


The log displays the list structure, clearly distinguishing between standard missing numeric values (.) and special missing values (.M), proving that the parameter parsing logic preserves these nuances.