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 #1
Created 23 September 2024 07:14:10 by nonoha
Updated 28 September 2024 05:51:20 by nonoha