DELETEWHEN
Use DELETEWHEN with the SETDEFAULTS entry type to set the default value
for the DELETEWHEN keyword on ADDCONFIG and UPDATECONFIG entry types.
Specify when during processing you want i5/OS to delete the line or string
from the file.
You can specify:
- ALWAYS if you want i5/OS to delete the line or string every time it processes
the configuration file.
- NEVER if you want i5/OS to never delete the line or string. (NEVER is
the default unless you defined a different default.)
- An expression that directs i5/OS to delete the line or string when the
specified condition is true. Expressions are composed of operands (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 delete a line when the NWSD type is *WINDOWSNT,
you can use this:
DELETEWHEN = '(%FPANWSDTYPE%=="*WINDOWSNT")'