⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m18 - producing html output - 30 of 32.mht

📁 sas的考试样题
💻 MHT
📖 第 1 页 / 共 5 页
字号:
procedure=20
      output, you can use <A=20
      onmouseover=3D"window.status=3D'Display details on creating a =
linked table of contents.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_16.htm">the =
CONTENTS=3D=20
      and FRAME =3D options</A> with the ODS HTML statement to create a =
table of=20
      contents that links to your HTML output. The <A=20
      onmouseover=3D"window.status=3D'Display details on using the table =
of contents.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_17.htm">table =
of=20
      contents</A> contains a heading for each procedure that creates =
output.=20
  </TD></TR></TBODY></TABLE>
<P>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft><STRONG>Specifying a Path for =
Output</STRONG><BR>You can=20
      also use <A=20
      onmouseover=3D"window.status=3D'Display details on the PATH=3D =
option.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_23.htm">the =
PATH=3D=20
      option</A> to specify the directory where you want to store your =
HTML=20
      output. When you use the PATH=3D option, you don't need to specify =
the=20
      complete pathname for the body, contents, or frame files. By =
specifying=20
      the <A=20
      onmouseover=3D"window.status=3D'Display details on the URL=3D =
suboption.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_20.htm">URL=3Doption<=
/A>=20
      in the file specification, you can provide a URL that ODS uses in =
all the=20
      links that it creates to the =
file.</TD></TR></TBODY></TABLE></CENTER>
<P align=3Dcenter>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft>
      <P><STRONG>Changing the Appearance of HTML Output</STRONG><BR>You =
can=20
      change the appearance of your output using <A=20
      onmouseover=3D"window.status=3D'Display details on the STYLE=3D =
option.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_26.htm">the =
STYLE=3D=20
      option</A> in the ODS HTML statement. Several predefined styles =
are=20
      shipped with SAS. </P></TD></TR></TBODY></TABLE>
<P>
<CENTER>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft><STRONG>Additional Features</STRONG><BR>ODS =
provides ways=20
      for you to <A=20
      onmouseover=3D"window.status=3D'Display details customizing HTML =
output.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_29.htm">customize =
HTML=20
      output</A> using style definitions. Definitions are created using =
PROC=20
      TEMPLATE and describe how to render the HTML output or part of the =
HTML=20
      output.</TD></TR></TBODY></TABLE></CENTER></CENTER><!-- =
InstanceEndEditable --><BR>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" align=3Dcenter =
border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft>
      <HR>
    </TD></TR></TBODY></TABLE>
<P><!-- InstanceBeginEditable name=3D"syntax" -->
<CENTER>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD><STRONG><A name=3DSyntax>Syntax</A></STRONG>=20
      <P><EM>To go to the page where a statement or option was =
presented, select=20
      a link.</EM> </P></TD></TR></TBODY></TABLE><BR></CENTER>
<P align=3Dcenter>
<TABLE cellPadding=3D2 align=3Dcenter>
  <TBODY>
  <TR>
    <TD><FONT color=3D#003399><STRONG>LIBNAME</STRONG> <EM>libref</EM>=20
      =
&nbsp;<STRONG>'</STRONG><EM>SAS-data-library</EM><STRONG>';</STRONG></FON=
T></TD></TR>
  <TR>
    <TD><A=20
      onmouseover=3D"window.status=3D'Display details on closing the =
Listing destination.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_5.htm"><STRONG>ODS=20
      LISTING CLOSE;</STRONG></A>&nbsp;</TD></TR>
  <TR>
    <TD><STRONG><A=20
      onmouseover=3D"window.status=3D'Display details on the ODS HTML =
statement.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_10.htm">ODS=20
      HTML</A>&nbsp;<A=20
      onmouseover=3D"window.status=3D'Display details on the PATH=3D =
option.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_23.htm">PATH=3D</A></=
STRONG><FONT=20
      =
color=3D#003399><EM>file-specification</EM><BR><NOBR>&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;(<STRONG>URL=3D'</STRONG><EM>=
Uniform-Resource-Locator</EM><STRONG>'</STRONG>=20
      | <STRONG>NONE</STRONG>)&gt;</NOBR></FONT></TD></TR>
  <TR>
    <TD>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A=20
      onmouseover=3D"window.status=3D'Display details on creating a body =
file.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_10.htm"><STRONG>BODY=3D=
</STRONG></A><FONT=20
      color=3D#003399><EM>file-specification</EM></FONT></TD></TR>
  <TR>
    <TD>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A=20
      onmouseover=3D"window.status=3D'Display details on creating a =
linked table of contents.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_16.htm"><STRONG>CONTE=
NTS=3D</STRONG></A><FONT=20
      color=3D#003399><EM>file-specification</EM></FONT></TD></TR>
  <TR>
    <TD>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A=20
      onmouseover=3D"window.status=3D'Display details on creating a =
linked table of contents.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_16.htm"><STRONG>FRAME=
=3D</STRONG></A><FONT=20
      color=3D#003399><EM>file-specification</EM></FONT></TD></TR>
  <TR>
    <TD>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A=20
      onmouseover=3D"window.status=3D'Display details on changing the =
appearance of HTML output.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_26.htm"><STRONG>STYLE=
=3D</STRONG></A><FONT=20
      =
color=3D#003399><EM>style-name</EM></FONT><STRONG>;</STRONG></TD></TR>
  <TR>
    <TD><FONT color=3D#003399><STRONG>PROC PRINT=20
      =
DATA=3D</STRONG><EM>SAS-data-set</EM><STRONG>;</STRONG></FONT></TD></TR>
  <TR>
    <TD><FONT color=3D#003399><STRONG>RUN;</STRONG></FONT></TD></TR>
  <TR>
    <TD><A=20
      onmouseover=3D"window.status=3D'Display details on the ODS HTML =
statement.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_10.htm"><STRONG>ODS =
HTML=20
      CLOSE;</STRONG></A>&nbsp;</TD></TR>
  <TR>
    <TD><A=20
      onmouseover=3D"window.status=3D'Display details on opening the =
Listing destination.'; "=20
      onclick=3DsuggestBack() onmouseout=3D"window.status=3D''"=20
      =
href=3D"http://www.sas.com/apps/OLTRN/59080/m18/m18_5.htm"><STRONG>ODS=20
      LISTING;</STRONG></A>&nbsp;</TD></TR></TBODY></TABLE>
<P align=3Dcenter>
<CENTER>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft>
      <HR>
    </TD></TR></TBODY></TABLE><BR></CENTER><!-- InstanceEndEditable -->
<P><!-- InstanceBeginEditable name=3D"sampleprogram" -->
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft><STRONG><A name=3DSample>Sample =
Program</A></STRONG> <PRE>      <FONT color=3D#003399>libname clinic =
'c:\data98\patients';</FONT>
   <FONT color=3D#003399>   ods listing close;</FONT>
<FONT color=3D#003399>      ods html =
path=3D'c:\records'(url=3Dnone)</FONT>
<FONT color=3D#003399>               body=3D'data.html'</FONT>
         <FONT color=3D#003399>      contents=3D'toc.html'</FONT>
<FONT color=3D#003399>               frame=3D'frame.html'</FONT>
<FONT color=3D#003399>               style=3Dbrick;</FONT>
      <FONT color=3D#003399>proc print data=3Dclinic.admit label;</FONT>
<STRONG>     </STRONG>    <FONT color=3D#003399>var id sex age height =
weight actlevel;</FONT>
<FONT color=3D#003399>         label actlevel=3D'Activity Level';</FONT>
<FONT color=3D#003399>      run;</FONT>
<FONT color=3D#003399><STRONG>      </STRONG>proc print =
data=3Dclinic.stress2;</FONT>
         <FONT color=3D#003399>var id resthr maxhr rechr;</FONT>
<FONT color=3D#003399>      run;</FONT>
<FONT color=3D#003399><STRONG>      </STRONG>ods html close;</FONT>
      <FONT color=3D#003399>ods listing;</FONT></PRE>
      <P>
      <HR>
    </TD></TR></TBODY></TABLE><BR><!-- InstanceEndEditable -->
<P><!-- InstanceBeginEditable name=3D"pointstoremember" -->
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"85%" border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dleft><STRONG><A name=3DPoints>Points to =
Remember</A></STRONG>=20
      <UL>
        <LI>An open destination uses system resources. Therefore, it's a =
good=20
        idea to close the Listing destination before you create HTML =
output and=20
        reopen the Listing destination after you close the HTML =
destination.=20
        <P></P>
        <LI>The ODS HTML CLOSE statement closes the HTML destination and =
is=20
        added <STRONG>after </STRONG>the RUN statement for the =
procedure.=20
        <P></P>
        <LI>If you use the CONTENTS=3D and FRAME=3D options, open the =
frame file=20
        from within your Web browser to view the procedure output=20
        <STRONG>and</STRONG> the table of contents. =
</LI></UL></TD></TR></TBODY></TABLE><!-- InstanceEndEditable =
--></CENTER><!-- #BeginLibraryItem "/Library/nav_regular_bottom.lbi" -->
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
  <TBODY>
  <TR>
    <TD width=3D14><IMG height=3D7 alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/linebox.gif"=
=20
      width=3D14></TD>
    <TD colSpan=3D2><IMG height=3D7 alt=3D""=20
      =
src=3D"http://www.sas.com/apps/elearning/images/en/navimages/linegray.gif=
"=20
      width=3D"100%"></TD></TR>
  <TR>
    <TD>&nbsp;</TD>
    <TD vAlign=3Dtop><FONT face=3D"Verdana, Arial, Helvetica, Sans =
Serif"=20
      color=3Dgray size=3D1><A class=3Dcopyrightlink=20
      href=3D"javascript:%20openOther('../copyrite.htm')"><FONT=20
      face=3D"Arial, Helvetica, sans-serif">Copyright</FONT></A> <FONT=20
      face=3D"Arial, Helvetica, sans-serif">=A9 2003 SAS Institute Inc., =
Cary, NC,=20
      USA. All rights reserved.</FONT></FONT> <FONT=20

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -