update

update


up Index Level update-abs-stamp
Syntax update file.reference {item.list*} {attr.list} {(options)}
Category TCL
Type Verb
Description invokes the "Update processor" for adding, changing, deleting, or simply "cruising" through data in a given file.

The "attr.list" functions in the same way as the "outlist" in a "list" or "sort" command. It indicates the names of the attributes that are to be affected by the command. Specific attributes can be updated, without using the default macro defined on the file's "d-pointer".

"u" is a synonym of "update".
Options i  Includes item-id in UP workspace. Each item prompts for an item-id.  (see "id-prompt")

s  Toggles off spelling checker.  (see "speller-off")

l  "Look" only. The item cannot be filed or deleted.

c  Clears the screen before bringing each item into UP workspace.

r  "Raw" option.  When using this option, UP will show non-displayable characters as periods, and the escape character as a "[".  In this mode, the escape character can be entered directly. On release 7.0 and above, the raw option also causes the Update processor not to trim trailing attributes.
See Also default output specifications el cruising set-func (D3/SCO) dictionaries as operators Update processor zooming up editor speller-off u only i data-entry id-prompt edit account-maint Update processor
Example update entity
In this form, the default list of attributes is obtained from the "macro" attribute in the "entity" file-defining item located in the dictionary of the entity file.

update invoices customer.name invoice.date invoice.amount

This explicitly requests the three fields shown, regardless of the "default" macro.

update entity (cil

Like the first example, but uses "c" to clear the screen between each item, "i" to include the item-id of each item, and "l" for "look only."

update entity id-prompt (cl
This is exactly the same as the previous example, but uses the "id-prompt" modifier rather than the "i" option.
Warnings
Compatibility D3 7.0 AP AP 6.1
up Index Level update-abs-stamp