The SAS Output Delivery System and reporting techniques

Problem with ODS OUTPUT data sets

Reply
Contributor
Posts: 32

Problem with ODS OUTPUT data sets

I'm having a problem getting access to ODS output data sets from PROC REG. I am getting the files listed in the log but when I try to print log says there are no data sets. I am using the names printed using the TRACE. Anyone have any clues? Is it because  of the BY statement? I've turned the NORESULTS off and on and that doesn't appear to be the problem.

ODS ESCAPECHAR='^';

FILENAME ODSOUT "K:\sci\sci chesapeake bay program projects\CURRENT\GAM_PROJECT\REPORTS\";

ODS NORESULTS;

ODS TRACE ON;

*Prevents pdf files from being opened while program is running;

ODS PDF BODY="K:\sci\sci chesapeake bay program projects\CURRENT\GAM_PROJECT\REPORTS\Flow_Correction_Report.pdf";

ODS PDF FILE="K:\sci\sci chesapeake bay program projects\CURRENT\GAM_PROJECT\REPORTS\Flow_Correction_Report.pdf";

TITLE1"^S={JUST=C FONT_SIZE=11PT FONT_STYLE=ROMAN}Flow Variable Selection Diagnostics Results";

TITLE2"^S={JUST=C FONT_SIZE=11PT FONT_STYLE=ROMAN}using the best flow variable based on R-squared";

PROC REG OUTEST = FLOW_TABLE DATA=DATA_FLOW TABLEOUT;

NEWFLOW: MODEL TN = NEWFLOW;

OUTPUT OUT=TMP_RESID R=RES_FLOW;

ODS OUTPUT Fitstatistics=FitStatistics ANOVA=ANOVA ParameterEstimates=ParameterEstimates;

BY RIVER SEGMENT STATION FLOW_MODELED;

ODS OUTPUT CLOSE;

RUN;

ODS TRACE OFF;

ODS PDF CLOSE;

RUN;

QUIT;

PROC PRINT DATA=FitStatistics;

PROC PRINT DATA=ANOVA;

PROC PRINT DATA=ParameterEstimates;

Contributor
Posts: 32

Re: Problem with ODS OUTPUT data sets

Never mind ..... I found the problem

Post a Question
Discussion Stats
  • 1 reply
  • 293 views
  • 0 likes
  • 1 in conversation