The following code attempts to generate a PDF using ODS.
Running the code from a UNIX prompt (SAS 9.2) generates a file in the specified location with the correct file name, but that PDF is completely blank.
Running the code in Enterprise Guide 4.2 generates the same blank file in the specified UNIX directory, but a PDF opens within EG that contains the expected output. If that PDF is exported from EG, the exported PDF contains the same correct output.
My question: why is the PDF file that is saved to the UNIX directory empty, and what can I do to get it to contain the proper output?
24 TITLE 'table printed here';
25 SELECT *
26 FROM sample_table
NOTE: PROCEDURE SQL used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
31 ODS LAYOUT END;
33 ODS _ALL_ CLOSE;
NOTE: ODS PDF printed 1 page to(MY UNIX DIRECTORY HERE)/ODS.pdf.
34 ODS LISTING;
NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
real time 0.35 seconds
cpu time 0.21 seconds
ODS LAYOUT is still experimental, so this is an issue that is best addressed with Tech Support. If there is some interaction or interference between ODS LAYOUT, ODS PDF and EG, Tech Support can find out by going directly to the developers.