LIST.ITEM and SORT.ITEM |
![]() ![]() ![]() |
The LIST.ITEM and SORT.ITEM verbs display data from QM files in its internal format. The LIST.ITEM verb displays records in the order in which they are encountered in the file unless a sort clause in present in the command. The SORT.ITEM verb is equivalent to LIST.ITEM with a final sort by record id.
LIST.ITEM {DICT} file.name {USING {DICT} file.name} {record.id...} {FROM select.list.no}
SORT.ITEM {DICT} file.name {USING {DICT} file.name} {record.id...} {FROM select.list.no}
The output from these verbs displays the record id followed by each field on a separate line. No conversion or formatting is performed on the data. Multivalued data will be displayed with embedded mark characters.
The SCROLL keyword allows scrolling back and forward using the up and down cursor keys.
Example
LIST.ITEM STOCK 16798
This command lists the content of record 16798 of the STOCK file. |