must use a cas engine libref?
The CAS libref is your handle to communicate from SAS with the specific session. The CAS LIBNAME engine provides two important uses for SAS programming: The CAS libref and table name are used to identify in-memory tables that can then be used as input data for SAS Viya procedures.