ADDWHEN keyword
Use ADDWHEN to specify when during processing you want i5/OS to add the
new line or string to the integrated Windows server file.
You can specify:
- ALWAYS if you want i5/OS to add the line or string every time it processes
the configuration file. (ALWAYS is the default unless you defined a different
default value by using a SETDEFAULTS entry in the member.)
- NEVER if you want i5/OS to never add the line or string.
- An expression that directs i5/OS to add the line or string when the specified
condition is true. Expressions are composed of operators (see ADDWHEN and DELETEWHEN expression operators)
and must equate to either TRUE or FALSE.
- Note:
- If you do not want i5/OS to interpret an expression (such as one that
contains an asterisk (*)) as a mathematical operation, enclose the expression
in quotation marks. For example, to add a line when the NWSD type is *WINDOWSNT,
you might use this:
ADDWHEN = '(%FPANWSDTYPE%=="*WINDOWSNT")'