secondary.list Definition/General

secondary.list

Command secondary.list Definition/General
Applicable release versions: AP
Category General (155)
Description created using the "s" option with the "select" or "sselect" command. Its sole purpose and only real use is during compares and copies.

An example use of a "secondary" list is as follows:

1) Create the primary list.
2) Create the secondary list (using the "s" option).
3) Invoke the "copy" or "compare" command.
4) When the system prompts "to:", enter the filename, (preceded by a left parenthesis). The secondary list takes over and is used for output and comparison ids.

A secondary list may be created to use as the "target" for a list of item-id's in the "source" or "active" list.

The "end" command may be used to "deactivate" an active or secondary list. See "end" for more information on the "double whammy" effect.
Syntax
Options
Example
The following commands compare two files containing Pick/BASIC program source.

sselect bp by mod.date
[404] 75 items selected out of 75 items.
sselect old.bp with mod.date (s
[404] 75 items selected out of 75 items.
compare bp
with:(oldbp

This program copies items in the entity file to a work file using the 
"item-id"s kept in the list, "targets".

sselect entity by zip
[404] 1600 items selected out of 1600 items.
gl targets (s
[404] 1600 items selected.
copy entity
to:(work
Purpose
Related tcl.delete-list
tcl.el
tcl.get-list
access.sselect
access.select
active.list
tcl.edit-list
basic.readnext
access.nselect
tcl.copy-list
primary.list
tcl.save-list
tcl.end
tcl.fl
tcl.compare-list
basic.select