The ODS entry can contain
any combination of the following: ODS HTML file, contents file, pages
file, or frame file.
The publisher can choose
to publish any combination of the HTML files. To indicate those files
that were not published as part of this set, the output parameter
that contains the created filename will be updated to "". For example,
if only the body was published, then the page, contents, and frame
parameters will be returned as "".
The
pages
,
pagesUrl
,
body
,
bodyUrl
,
frame
,
frameUrl
,
contents
, and
contentsUrl
parameters are character
variables that are updated by the CALL routine. Because they are updated,
they must be initialized with a length large enough to contain the
name of the returned filename or URL. If the length of the character
variable is less than the length of the returned filename or URL,
the filename or URL will be truncated and a warning will be issued.
When calling the RETRIEVE_HTML CALL routine from within the DATA step,
use the LENGTH statement to define the length of the character variable.
When calling RETRIEVE_HTML from within a macro, initialize the variable
to some value so that it will have an appropriate length, as shown
in the second example below.
For information on how HTML files are published and how
the optional encoding property can be used to provide encoding information
to package recipients, see Publish and Retrieve Encoding Behavior.