Option Parameter. Robelle Suprtool 5.7
Mainos
Mainos
356 • Dbedit Commands
#mod d-inventory:unit-cost {only modify UNIT-COST}
SUPPLIER-NAME >STD Ribbons {prompt for search value}
PRODUCT-NO >105391 {prompt for another one}
Enter new values (or <return> to leave as is):
SUPPLIER-NAME >STD Ribbons {prints the search value}
PRODUCT-NO >105391 {prints the other one}
UNIT-COST >500 {prints existing value}
{prompts for new value}
In this case you will not be prompted for BIN-NO, ON-HAND-QTY, or LAST-
SHIP-DATE.
When working on a single dataset, it is only necessary to specify the dataset name in the first command. For example:
#list d-inventory
SUPPLIER-NAME >STD Ribbons
#list {use the previous file parameter}
SUPPLIER-NAME >//
Option Parameter
The file parameter and the options must be separated by a semicolon.
#command [file] [;option...]
The available options are:
numeric-value, All, Key, Limit, Related, UNder, UPdatekey
These options qualify the operation of the File, List, Modify, Change, Delete, and
Add commands. Some options only apply to one command. Options can be combined and can be abbreviated. When more than one option is specified, each option must be separated by a semicolon.
#list d-inventory;key=product-no;under
PRODUCT-NO >
Numeric-Value Option
Commands normally cycle, prompting for new search values or new entries, until you press Return or Control-Y. However, if you specify a numeric-value after the semicolon, the command only prompts you numeric-value number of times. For example, if you only want to do one List function, you would enter:
#list d-inventory;1 {only prompt for SUPPLIER-NAME once}
All Option
The All option works only with the List, Modify, or Delete commands. When All is specified, every record in the specified file is processed sequentially. You can stop the scan by pressing Control-Y.
Key Option
The Key option overrides the primary search field. Dbedit prompts for the primary search field first. Often, this is not the value that you know. You can use the Key option to force Dbedit to prompt you for another search field. For example:
Suprtool 5.7 for MPE
Lataa
Mainos