Select the best answer
for each question. Check your answers using the answer key in the
appendix.
-
Using ODS statements,
how many types of output can you generate at once?
-
If ODS is set to its
default settings, what types of output are created by the following
code?
ods html file='c:myhtml.htm';
ods pdf file='c:mypdf.pdf';
-
-
-
-
No output is created
because ODS is closed by default.
-
What is the purpose
of closing the HTML destination in the following code?
ods HTML close;
ods pdf ... ;
-
It conserves system
resources.
-
It simplifies your program.
-
It makes your program
compatible with other hardware platforms.
-
It makes your program
compatible with previous versions of SAS.
-
When the following code
runs, what does the file D:Outputody.html contain?
ods html body='d:outputody.html';
proc print data=work.alpha;
run;
proc print data=work.beta;
run;
ods html close;
-
The PROC PRINT output
for Work.Alpha.
-
The PROC PRINT output
for Work.Beta.
-
The PROC PRINT output
for both Work.Alpha and Work.Beta.
-
Nothing. No output is
written to D:Outputody.html.
-
When the following code
runs, what file is loaded by the links in D:Outputcontents.html?
ods html body='d:outputody.html'
contents='d:outputcontents.html'
frame='d:outputframe.html';
-
-
-
-
There are no links from
the file D:Outputcontents.html.
-
The table of contents
that was created by the CONTENTS= option contains a numbered heading
for which of the following?
-
-
each procedure that
creates output
-
each procedure and DATA
step
-
each HTML file created
by your program
-
When the following code
runs, what will the file D:Outputframe.html display?
ods html body='d:outputody.html'
contents='d:outputcontents.html'
frame='d:outputframe.html';
-
The file D:Outputcontents.html
.
-
The file D:Outputframe.html.
-
The files D:Outputcontents.html
and D:Outputody.html
.
-
It displays no other
files.
-
What is the purpose
of the following URL= suboptions?
ods html body='d:outputody.html' (url='body.html')
contents='d:outputcontents.html'
(url='contents.html')
frame='d:outputframe.html';
-
To create absolute link
addresses for loading the files from a server.
-
To create relative link
addresses for loading the files from a server.
-
To allow HTML files
to be loaded from a local drive.
-
To send HTML output
to two locations.
-
Which ODS HTML option
was used in creating the following table?
-
What is the purpose
of the PATH= option?
ods html path='d:output' (url=none)
body='body.html'
contents='contents.html'
frame='frame.html';
-
It creates absolute
link addresses for loading HTML files from a server.
-
It creates relative
link addresses for loading HTML files from a server.
-
It allows HTML files
to be loaded from a local drive.
-
It specifies the location
of HTML file output.