Hi Rick,

in the classic world of proc iml it is possible to read in the variable names of a sas dataset into matrix in the same time of reading the dataset:

example:
use work.Cashflows;
read all var _NUM_ into CF_num_m[colname=CF_num_names_v];

Then you can use the matrix columns through the variable names instead of column number:

example:
print(CF_num_m[, "CASHFLOW_AMT"]);
instead of CF_num_m[, 4]);

We are missing the same option in the function MatrixCreateFromCas.
Do we have the same possibility using proc cas instead of proc iml?

Best Regards,
David Korinth and Adalbert Thomalla