If you want to add a subentry or a subentry value, you should
use the ADD statement. Although, in some cases, you may get the desired
results using the REP statement, in other cases, the results may not
be what you expected. For more information, see Processing.
If you want to delete a subentry or a subentry value, do not try
to do it by adding a null value. For example, do not use ADDsubentry().
Use the DEL statement instead.
For subentries and subentry lists, if you want to delete all the
values but do not know what they all are, you can specify the subentry
or subentry list operand followed by a left and right parenthesis.
For example, to delete all MOD values in the SYSMOD entry for UR11111,
you could use these commands:
SET BDY(TGT1) /* Set to target zone. */.
UCLIN /* */.
DEL SYSMOD(UR11111)/* Delete data from SYSMOD: */
MOD() /* all MOD subentries. */
/* */.
ENDUCL /* */.
The
parentheses mean that SMP/E should delete the subentry or subentry
list they enclose, even though no value is specified.
Note: This
procedure can also be used with REP. As with DEL, there must be a
current existing value.