English Reference > List Processing Commands > EDIT-LIST

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

EDIT-LIST Command (English) (m618305+editlist.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

RealityV15.0Comment on this topic