IBM Books

Reference

DTW_REMOVE_WS


AIX HP-UX Linux OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X X

Purpose

Reduces the size of a dynamically generated Web page by compressing extra space caused by tabulators, white space, and new-line characters.

Specify the value of this variable in the DEFINE block.

Using <PRE></PRE> tags: Defining this variable to YES affects the amount and type of white space that is printed. If the variable is set to YES, portions of HTML pages that use <PRE></PRE> tags might not display as intended.

If you are using DTW_PRINT_HEADER to generate your own headers (DTW_PRINT_HEADER="NO"), you must set DTW_REMOVE_WS to "NO".

OS/390 users: Set this variable in the Net.Data initialization file to specify a value for all of your macros. You can override the value by defining it in the macro. If DTW_REMOVE_WS is not defined in the macro, it uses the value in the initialization file.

Values

DTW_REMOVE_WS="YES"|"NO"

Table 25. DTW_REMOVE_WS Values

Values Description
YES Net.Data compresses a sequence of two or more white spaces to one new-line character, generating shorter HTML result pages.
NO Net.Data does not compress white spaces. NO is the default.

Examples

Example 1: Compressing white space

DTW_REMOVE_WS="YES"
 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]