EDIT-LIST

Allows you to create, modify, merge or delete a list saved in POINTER-FILE.

Syntax

EDIT-LIST {list-name {account-name}} {(options}

Syntax Elements

list-name The name of the list you want to edit.  If not specified, the default list is used.

account-name The name of the account from which the list was saved.

If you do not specify account-name, the current account is assumed.

Options

B Displays an item in read-only mode. The B option neither observes nor sets item locks.

I Specifies that, when sorting a list (S option), case should be ignored when comparing item-ids.

The I option is ignored if used without S.

P Directs system output to the spooler.

S Causes the command to function like SORT-LIST.

Z Suppresses the 'TOP' and 'EOI' messages.

Comments

EDIT-LIST uses the same line Editor commands as you use to edit data items.

Creating an Item List Using English

You can create an item list by executing a SELECT or SSELECT on a file, then saving the generated item list by executing SAVE-LIST. For example:

:SSELECT MD WITH 1 "PQN"
35 Items selected.
>SAVE-LIST NEWPROC.LIST
[241]'NEWPROC.LIST' cataloged.
:EDIT-LIST NEWPROC.LIST
Top
.L4
001 BREF
002 CHECK
003 CHOO-CHOO
004 CLS

Creating an Item List Using EDIT-LIST

Item lists can also be created from the Editor by using the EDIT-LIST command. To do this, simply execute EDIT-LIST from TCL and create the list just as you would create any other item using the Editor. For example:

:EDIT-LIST ROOMS-AVAIL
New item
Top

You can now use editor commands to change the list.