SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-65
LISTDEV
the end of the last line output. The maximum value of count is a 32-bit signed
integer.
START ldev-num
lets you resume the LISTDEV display from the last ldev-num displayed. When
used in conjunction with the MORE option, LISTDEV can be called repeatedly to
return consecutive sets of logical devices. The maximum value of ldev-num is a
32-bit signed integer.
string-exp
specifies a string expression that contains one of these keywords:
DISC | DISK | TAPE | PRINTER | TAPE
Examples
This example shows the LISTDEV statement.
?MENU DevMenu
?PROC ListDev (#DevType,Cacheid)
{------------------------------}
{ This proc stores a list of Device names
{ in CacheId of the type specified by #DevType.
{---------------------------------------------}
PARM #DevType { DISC,TAPE,TERM,..
, Cacheid { cache to list to.
;
DELETE Cacheid!; { Clear cache.
LISTDEV #DevType TO Cacheid;
WINDOW Cacheid MENU SIZE 13,24 PAGES
HEAD #DevType;
?SECT ShowDevices
{----------------}
CALL ListDev( "DISC", DevMenu );