<p>ODS STATEMENTS<br/>In order to move beyond default behaviour, ODS provides three means<br/>of controlling the output from a SAS procedure - ODS statements,<br/>templates, and styles. The starting point is the set of ODS statements.<br/>One or more of these statements are used to<br/>Choose a result destination (or destinations).<br/> ODS LISTING ...<br/> ODS HTML ...<br/> ODS OUTPUT ...<br/>Select desired output objects to create.<br/> ODS SELECT ...<br/> ODS EXCLUDE ...<br/>Control the type of messages written in the Log window.<br/> ODS SHOW ...<br/> ODS TRACE ...<br/> ODS VERIFY ...<br/>Set a search path for template(s) to format listing and html results.<br/> ODS PATH ...<br/>Select a style to control aspects of html results.<br/> ODS HTML STYLE= ...<br/> <br/>IDENTIFYING OUTPUT OBJECTS<br/>In order to do more than simply display an output object, you must be<br/>able to determine its name, path and template. Trace can be turned on<br/>or off at any time during a SAS session or SAS batch job. When trace<br/>is on, it writes to the SAS log a record of each output object that is created.</p><p>For Example:</p><p>ODS TRACE on;<br/>proc univariate normal data=work.normal;<br/> var x;<br/> run;<br/>ODS TRACE off; </p><p>You can find the output table name in the log file and transfer <br/>output values to SAS data file.</p><p>For example:</p><p>ODS OUTPUT TestsForLocation = work.capture;<br/> proc univariate normal data=work.normal;<br/> var x;<br/>run;<br/></p><p>Hope this helps !</p>
