DISPLAY ITEM [ HP Transact Documentation Update Notice ] MPE/iX 5.5 Documentation
HP Transact Documentation Update Notice
DISPLAY ITEM
Displays the value of a single item, several items, or all items in the
data register.
Syntax
{DISPLAY ITEM} [item_name_list]
{DIT }
{item1[(subscript)]:item2 [(subscript)] }
item_name_list = {item1[(subscript)][,...itemN[(subscript)]]}
{item1[(subscript)]: }
{:item2[(subscript)] }
Parameters
[REV BEG]
item The names of the valid items or range of items in the data
register that are to be displayed. These items can be
child items.
subscript A list of numerical values of the form val1, val2,...valn
used to select a particular element in an array. If this
parameter is omitted and the item being displayed is an
array, the entire array is displayed. If this parameter is
specified and the item is not an array, an error message is
displayed.
[REV END]
Discussion
This command allows you to display either selected items in the data
register or all the items in the data register. The item values are
converted to their ASCII equivalents prior to display. If an item cannot
be successfully converted to ASCII or an overflow occurs, the item value
appears as #s.
If an item cannot be displayed entirely on one line, it is formatted for
multiple lines. If the items being displayed cannot fit on a single
screen, a CONTINUE(Y/N)? prompt is displayed at the page breaks. If an
item name is not specified, all the items in the data register are
displayed.
NOTE Child items cannot be used when specifying a range of items to
display.
Examples
The following examples display a single item, a range of items, and all
items in the data register.
TRANDEBUG> DISPLAY ITEM item1
ITEM1: ABCD
[REV BEG]
TRANDEBUG> DISPLAY ITEM item1:item3
ITEM1: ABCD
ITEM2: 1234
ITEM3: 56.78[REV END]
TRANDEBUG> DISPLAY ITEM
ITEM1: ABCD
ITEM2: 1234
ITEM3: 56.78
ITEM4: XYZ
MPE/iX 5.5 Documentation