secondary.list

Definition/General, Releases: AP

A list of item-id's generated by one of the list-generating processes while an active list is present.

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.

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

See Also

Command Name Type Description
tcl.delete-list Verb: Access Deletes previously saved lists.
tcl.el Verb: Access Edits saved list using Update processor.
tcl.get-list Verb: Access Retrieves previously saved list.
access.sselect Verb: Access Creates sorted list of items meeting specific criteria.
access.select Verb: Access Creates list of items meeting specific criteria.
active.list Definition A list of strings delimited by attribute marks created by one of the list-generating processes.
tcl.edit-list Verb: Access Edits saved list using line editor.
basic.readnext Statement Retrieves the next item-id from an active list.
access.nselect Verb: Access Performs 'not' select - only items not there.
tcl.copy-list Verb: Access Copies previously saved lists.
primary.list Definition An 'active' select-list.
tcl.save-list Verb: Access Saves active list.
tcl.end Verb: Access Ends process.
tcl.fl Verb: Access Forms single list from two lists.
tcl.compare-list Verb: Access Compares two lists for intersections.
basic.select Statement Creates internal active list.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.