An Idea Exchange for SAS software and services

by SAS Super FREQ
on ‎05-15-2013 07:39 AM

I'm not saying this isn't a reasonable request, but if you want to pass a vector from IML to a SAS procedure, just use the CHAR, ROWCAT, and SYMPUT functions to create a macro variable that contains the values:

proc iml;

coef = {1 2 3};

call symputx("CoefList", rowcat( char(coef) );

proc GLM;

model ...;

estimate &CoefList; /* list from SAS/IML vector */


Idea Statuses
Top Liked Authors