Using SQL to get Network Attributes [email protected] (Simon Hutchinson)

​This new View, NEWORK_ATTRIBUTE_INFO, was introduced as part of IBM i TR2 and 7.4 TR8. It shows the same information as the Display Network Attributes command, DSPNETA, and allows you to retrieve the same information as you would using the Retrieve Network Attributes command, RTVNETA.
I will admit I don’t use this information much, in fact the only attribute I use is the Current System name. In a CL program I retrieve it using RTVNETA:

01 DCL VAR(&SYSNAME) TYPE(*CHAR) LEN(10)

02 RTVNETA SYSNAME(&SYSNAME)

Read more » Read More 

Verified by MonsterInsights