FI - File
Files the edited item (optionally to another item-id and/or file), and then returns control to TCL, or passes control to EDIT of the next item in a list (unless the K option is used to kill the list).
Caution
When using this command, you need to be aware of the effects of any file triggers that might be run as a consequence. See File Triggers for more information.
Syntax
FI{K}{O} { (file-specifier} {item-id}{)}
Syntax Elements
K indicates that you wish to terminate ('kill') the item list.
O indicates that you wish to overwrite an existing item with the same item-id. You only need to specify O if writing to another item or file (if writing to the current item and file, overwrite of any existing item is automatic).
(file-specifier specifies write the item to another file (not the one used with the EDIT command). The item of the same name in the original file is not changed.
Note
A file specifier must be identified by an open parenthesis preceding it.
item-id is a new name for this item, within the current file if file-specifier is omitted, otherwise within the specified file. Omit if you want to use the existing item-id for the item within the current or alternative file.
How to Exit From an Item List
To terminate a multiple item EDITing session after you file an item but before you reach the last item in the list, use the FIK command.
Message for a Filed Item
When the item has been filed, the following message is displayed:
'item-id' filed in file 'file-name'.
Example 1 - FI
|
Edit contents of item
12-345 in the INV file. |
Example 2 - FI
|
Edit
contents of item 12-345 in the INV file. |
Example 3 - FI
|
|
Example 4 - FI
|
Edit the item 'DataBasic' in the BP
file. |
Example 5 - FIK
|
Edit
items '12-111', '12-112', and '12-113' in the INV file. |
Example 6 - FIK
|
Edit
items '12-345', '12-346', and '12-347' in the INV file. |
Example 7 - FIO
|
Edit
item 12-111 in the INV file. |
Example 8 - FIKO
|
Edit
items 12-345, 12-346, and 12-347 in the INV file. |