Schema IQUERY
RTVNETA( net_attr => 'network_attribute' )
The Retrieve Network Attribute (RTVNETA) Function returns a VARCHAR(256) column that contains the user-specified network attribute.
The name of the network attribute to be returned. If no network attribute is specified, SYSNAME is used as the default. Any of the valid Network Attributes supported by the QWCRNETA API may be specified.
values iQuery.rtvnetA('SYSNAME') into :SYSNAME;