Buscar colunas no vcolumn Buscar nomes das colunas com vcolumn1 2 3 4 5 6 7 8 9proc sql; create table COLUNAS_SUMARIZAR as select name as coluna, 'SUM' as tipo from sashelp.vcolumn where libname = 'WORK' and memname = 'CARTEIRAS' and name not in ('cd_depe', 'nr_ctra', 'posicao') ; quit;