Adarsha Regmi
Nov 19, 2021

creating and using ODS

THE OUTPUT statement

some of the ods functions

  • ods _all_ close; >> closing all the output.
  • output out =stats; >> new dataset in work library. stats is the dataset in work library.
  • ods listing; >> opening the ods;
  • ods closing >> closing ods;

outputting the means directly.

ods listing close; proc means data=Bookdata.IPums;class metro;output out-work.twoState q3(MortgagePayment HomeValue)-MortQ3 ValueQ3;run;* no var required;