SAS는 현재 생성 된 PDF에 추가 할 수 없습니다. SAS에서 다른 PDF를 만든 경우 proc 문서를 사용하여 출력을 재구성하여 단일 PDF 파일을 만들 수 있습니다.
Adobe Professional 또는 다른 PDF 응용 프로그램을 사용하여 PDF를 추가 할 수 있습니다. 이를 자동화해야하는 경우 VB 스크립트를 만들어 SAS에서 실행할 수 있지만 Adobe Professional 또는 다른 PDF 응용 프로그램은 여전히 외부에서 호출해야합니다.
EDIT : 가장 간단한 방법은 ODS CLOSE의 위치를 변경하여 PDF를 한 번에 작성하는 것입니다.
두 번째는 ODS 문서 문에서 각 테이블을 래핑하여 문서 개체를 만든 다음 나중에 동일한 위치의 모든 테이블을 집계하여 다시 재생하는 것입니다. 여기에서
코드 : http://support.sas.com/kb/35/375.html
/* Use a LIBNAME statement or directory appropriate for your SAS session */
libname docs "c:\temp";
/* Route the PROC REPORT table to a document item store named FIRST in the DOCS library */
ods document name=docs.first;
proc report nowd data=sashelp.class(obs=10);
title "first";
run;
/* Close the document itemstore */
ods document close;
/* Create a new document item store in which to save the second PROC REPORT table.
This ODS DOCUMENT NAME=/ODS DOCUMENT CLOSE logic can be included in
the original SAS session or a separate SAS session. */
ods document name=docs.second;
proc report nowd data=sashelp.vtable(obs=20);
title "Second";
column libname memname nobs nvar crdate;
run;
ods document close;
ods document name=docs.third;
proc report nowd data=sashelp.class;
title "Third";
run;
ods document close;
/* In the same SAS session or a new SAS session, combine the results
of the three document item stores with PROC DOCUMENT. */
libname docs "c:\temp";
ods pdf file="combined_2.pdf";
proc document name=docs.first;
replay;
run;
quit;
proc document name=docs.second;
replay;
run;
quit;
proc document name=docs.third;
replay;
run;
quit;
ods pdf close;
다른 곳 SAS 또는를 통해 어딘가에 만든 기존 PDF인가? – Reeza
예. 동일한 프로세스 흐름에서 다른 SAS 프로그램에 의해 생성됩니다. – Lovnlust