Rangeview HTML Generator

Generating and Saving the HTML File

Use the following arguments in your DS2CSF macro call when you want to generate the CSF to an HTML file. Default argument values are listed first and displayed in bold type.

Note: For SAS 9.2 or later, the DS2CSF macro is no longer supported. The documentation on this Web site is for Release 8.2 or earlier of SAS. Please migrate your applications to use the GKPI procedure with ODS and the JavaImg device driver.

htmlfile=external-filename
specifies the name of the HTML file where the formatted output is to be written. If the file you specify does not exist, then it is created for you.

Note: Do not use the HTMLFILE argument if you use the HTMLFREF argument.

htmlfref=fileref
specifies the SAS fileref that points to the location of the HTML file where the formatted output is to be written. If the file you specify does not exist, then it is created for you.

Note: Do not use the HTMLFREF argument if you use the HTMLFILE argument.

openmode=REPLACE | APPEND
indicates whether the new HTML output overwrites the information that is currently in the specified HTML file or if the new output is appended to the end of the existing file. This argument is required only if you want to override the default setting (OPENMODE=REPLACE).

  • Specify APPEND to add your new HTML-enhanced output to the end of an existing file.

    Note: OPENMODE=APPEND is not valid if you are writing your resulting HTML to a partitioned dataset (PDS) on z/OS.



  • Specify REPLACE to delete the information from an existing file and replace it with the new output.

runmode=B | S
specifies whether you are running the DS2CSF macro in batch or server mode.

  • Batch mode (RUNMODE=B) means that you are submitting the DS2CSF macro in the SAS Program Editor or you have included it in a SAS program.

  • Server mode (RUNMODE=S) is used with Application Dispatcher applications and causes the generator to print the HTTP header that is required by Application Dispatcher. For more information, refer to the Application Dispatcher documentation.

Note: z/OS is the successor to the OS/390 and MVS operating systems. SAS/IntrNet 9.1 for z/OS is supported on the MVS, OS/390, and z/OS operating systems and, throughout this document, any reference to z/OS also applies to OS/390 and MVS, unless otherwise stated.