Returns a list comprising all attribute values contained in each of two or more lists, or n times altogether if specified, that is, the intersection of the lists.
AND-LISTS list-name list-name {list-name}...{(option}
list-name is the name of a saved list.
n number of times attribute value must occur for inclusion in list (default is number of items).
Uniqueness of values in a source list can be guaranteed by sorting the list with the SORT-LIST command and specifying the U option.
:AND-LISTS OVERDUE LARGEAMT
429 Items selected. >SAVE-LIST PHONECALL
[241] 'PHONECALL' Cataloged.
All values that were in both lists OVERDUE and LARGEAMT are now in list PHONECALL.
:AND-LISTS SMKR DRNK OVFF OVWT
7899 Items selected. >SAVE-LIST BIGRSK
[241] 'BIGRSK' Cataloged.
The list in BIGRSK contains all values that were in every list referenced in the AND-LISTS command.