LIST-ITEM
Outputs the attributes of the specified items, displaying each attribute on a separate line preceded by a line number.
Unless otherwise specified in sort criteria, LIST-ITEM displays the items in the sequence in which they are stored in the file.
Syntax
LIST-ITEM
Refer to Sentence Structure for descriptions of these parameters.
Special Options
F Starts a new page for each item.
SORT-ITEM
Use SORT-ITEM if you need the items sorted.
Comments
Conversions codes in the dictionary are not applied to the data.
Examples
:LIST-ITEM GUESTS '117' PAGE 1 16:30:22 11 FEB 1994 117 001 7183F2 Arrival Date 002 Rizzo Last Name 003 Loretta First Name 004 10 Webster St. Address 005 Harrington City 006 TX State 007 56634 ZIP Code 008 USA Country 009 V Payment Code 010 2]6]18 Bill Codes 011 7184]7187]7187 Bill Dates 012 62.00]17.95]18.76 Bill Amounts
In this example, which has an item-list, the information in italics shows the layout of the items in the GUESTS file. Attribute 10 is a controlling attribute. Attributes 11 and 12 are multi-valued dependent attributes and their values have a one-to-one relation to attribute 10.
The example below uses a selection criterion:
:LIST-ITEM GUESTS WITH ROOM > "199" PAGE 1 16:38:22 11 FEB 1994 401 001 7184 002 Palmer 003 Sharon R. 004 39 Chalmers St. 005 Atlanta 006 GA 007 34478 008 USA 009 C 010 2]6]2]6 011 7184]7186]7190]7191 012 56]19]56]18.25 318 001 7182 002 Petrillo . . PAGE 6 16:38:22 11 FEB 1994 365 001 7186 002 Ferguson 003 Marilyn T. 004 101 Devon St. 005 Weston-Super-Mare 006 Somerset 007 SW3 9XY 008 England 009 C 010 2]15]13 011 7188]7188]7188 012 56]23.98]17.95