ODS 문장을 사용하시면 가능합니다.
해당 프로시저 실행 전 아래의 예제와 같이 ods trace on; 문장 을 사용하면,
Output 창에 생성되는 결과물에 대한 출력물 이름을 확인할 수 있습니다.
ods trace on;
proc tscsreg data=tscs;
id state year;
model y=x / fixtwo;
run;
ods trace off;
출력물 이름 확인 한 후, 출력물에 대하여 데이터셋으로 내보내고 싶을 때에는
ODS Output 문장을 사용하면 됩니다.
ODS Output <출력물 이름> = <내보낼 데이터명>;
ods output ParameterEstimates=pe ;
proc tscsreg data=tscs;
id state year;
model y=x / fixtwo;
run;
ods output close;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.