DELETEWHEN keyword
Use DELETEWHEN to specify when during processing you want i5/OS to delete
a 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 value by using a SETDEFAULTS
entry in the member)
- An expression that directs i5/OS to delete 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 delete a line when the NWSD type is *WINDOWSNT,
you can use this:
DELETEWHEN = '(%FPANWSDTYPE%=="*WINDOWSNT")'