builtins

eventingInfo

Description

The eventingInfo action reports the status of data event generation for the current CAS session. It indicates whether data events—notifications generated when table data is modified—are enabled for global-scope tables and session-scope tables. This action is useful for auditing purposes and for verifying the current session's configuration regarding data change tracking.

builtins.eventingInfo <result=results> <status=rc>;
Data Preparation View data prep sheet
Session Setup

Ensure a CAS session is active before running the action.

Copied!
1cas mysess;

Examples

Retrieves the current settings for data event generation in the session.

SAS® / CAS Code Code awaiting community validation
Copied!
1PROC CAS;
2 BUILTINS.eventingInfo;
3RUN;
Result :
The log displays whether data events are generated for global and session tables.

Executes the eventingInfo action, saves the result to a variable, and prints the result dictionary to inspect specific values.

SAS® / CAS Code Code awaiting community validation
Copied!
1PROC CAS;
2 BUILTINS.eventingInfo RESULT=info;
3 PRINT info;
4RUN;
Result :
A result dictionary is printed containing keys indicating the boolean status (true/false) of event generation for 'Global' and 'Session' scopes.

FAQ

What is the purpose of the eventingInfo action?