NSELECT

Compares the values in an active list against the item-ids of a specified file and returns a list of all values that are not item-ids in the file.

Syntax

NSELECT file-specifier

Syntax Elements

file-specifier specifies a file as defined in General Conventions.

Case Sensitivity

If the file specified has case-insensitive item-ids, the case of item-ids is ignored.

Examples

:GET-LIST SUSPECTS
14 Items selected.
>NSELECT ALIBI
5 Items selected.
>SAVE-LIST NOALIBI
[241] 'NOALIBI' Cataloged.

List NOALIBI contains all the values from list SUSPECTS that do not correspond to an item-id in file ALIBI.

:XOR-ITEMS CUSTOMERS LIFE CASUALTY MARINE
73 Items selected.
>NSELECT CALLED
51 Items selected.
>SAVE-LIST CALL
[241] 'CALL' Cataloged.

The XOR-ITEMS command produces a list of all values that were in only one of the items LIFE, CASUALTY, and MARINE in file CUSTOMERS. The NSELECT compares this list against the item-ids in file CALLED. List CALL contains all the item-ids that were not in file CALLED.

See Also

XSELECT.