資源描述:
《enhancing your output with ods》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、CHAPTER5EnhancingYourOutputwithODS5.1ConceptsoftheOutputDeliverySystem1525.2TracingandSelectingProcedureOutput1545.3CreatingSASDataSetsfromProcedureOutput1565.4UsingODSStatementstoCreateHTMLOutput1585.5UsingODSStatementstoCreateRTFOutput1605.6UsingODSStatementstoCreatePRINTEROutput1625.7Customizing
2、TitlesandFootnotes1645.8CustomizingPROCPRINTOutputwiththeSTYLE=Option1665.9CustomizingPROCREPORTOutputwiththeSTYLE=Option1685.10CustomizingPROCTABULATEOutputwiththeSTYLE=Option1705.11AddingTraffic-LightingtoYourOutput1725.12SelectedStyleAttributes174152TheLittleSASBook5.1ConceptsoftheOutputDelivery
3、SystemYoumightthinkthatproceduresproduceoutput.Theydon’t.Technically,proceduresproduceonlydata.ThentheysendthatdatatotheOutputDeliverySystem(ODS)whichdetermineswheretheoutputshouldgoandwhatitshouldlooklikewhenitgetsthere.ThatmeansthequestiontoaskyourselfisnotwhetheryouwanttouseODS—youalwaysuseODS.T
4、hequestioniswhethertoacceptdefaultoutputorchoosesomethingelse.ODSislikeabusyairport.Passengersarrivebycarandbus.Onceattheairport,passengerscheckbaggage,passsecurity,eventuallyboardaplane,andflyouttotheirdestinations.InODS,dataare1likepassengersarrivingfromvariousprocedures.ODSprocesseseachsetofdata
5、andsendsitofftoitsproperdestination.Infact,differenttypesofODSoutputarecalleddestinations.Whatyourdatalooklikewhentheygettotheirdestinationisdeterminedbytemplates.AtemplateisasetofinstructionstellingODShowtoformatyourdata.Thesetwoconcepts—destinationsandtemplates—arefundamentalforunderstandingwhaty
6、oucandowithODS.DestinationsWheneveryoudon’tspecifyadestination,youroutputwillbesent,bydefault,tothelisting.TheLISTINGdestinationiswhatyouseeintheOutputwindowifyouusetheSASwindowingenvironment,orinthelistingoroutputfileifyouusebatchmode.Herearethemajordestinations:LISTINGstandardSASoutputHTMLHyperte
7、xtMarkupLanguageRTFRichTextFormat2PRINTERhigh-resolutionprinteroutputPSPostScriptPCLPrinterControlLanguagePDFPortableDocumentFormatOUTPUTSASoutputdatasetMARKUPmarkuplanguagesincludingXMLDOCUMENToutputdocume