proc sqlで取得したクエリ結果を、区切り文字で結合しマクロ変数に代入する

proc sql noprint;
    select Name, Age
        into :name_list separated by ' ', age_list separated by ' '
        from sashelp.class
        where age > 12;
quit;

Revision #2
Created 27 September 2024 09:50:26 by nonoha
Updated 28 September 2024 05:51:20 by nonoha