ADD

── ADD ────────────────────────────────────────────────────────────────┤

(Type: Boolean; Default: FALSE)

If the value of the ADD option is TRUE, MAKEUSER infers a plus sign (+) before any USER segment and REMOTEUSER segment unless a minus sign (–) is explicitly present. The ADD option is effective only while MAKEUSER is running in update mode. This option makes an unsigned USER segment or REMOTEUSER segment a new-entry specification rather than a modification. The ADD option is useful when a group of usercode additions are present in a disk file to be processed by use of the INPUT option, but the plus signs are not present in that file.

If an attempt is made to add a large number of new users, a warning message can result stating that the USERDATAFILE is full or nearly full. In this event, use the COPY NEW form of the COPY statement to write a new USERDATAFILE with an index large enough to accommodate up to 25 percent more entries than are in the current USERDATAFILE.

An attempt to define a usercode when that usercode already exists in the USERDATAFILE results in an error.