SNA global information is defined or returned as described here.
Information on SNA global information is provided in the sna_global_info_sect structure as defined below.
typedef struct sna_global_info_sect {
unsigned char version;
unsigned char release;
unsigned char net_name[8];
unsigned char pu_name[8];
unsigned char node_id[4];
type_product_set_id product_set_id;
unsigned char alias_cp_name[8];
unsigned char node_type;
unsigned char cp_nau_addr;
unsigned char corr_serv_disk;
unsigned char reserved;
unsigned char appc_version;
unsigned char appc_release;
unsigned char appc_fixlevel;
} SNA_GLOBAL_INFO_SECT;
Information on SNA global information is provided in the sna_global_info_sect structure as defined below.
typedef struct sna_global_info_sect {
unsigned char version;
unsigned char release;
unsigned char net_name[8];
unsigned char pu_name[8];
unsigned char node_id[4];
type_product_set_id product_set_id;
unsigned char alias_cp_name[8];
unsigned char node_type;
unsigned char cp_nau_addr;
unsigned char corr_serv_disk;
unsigned char reserved;
unsigned char appc_version;
unsigned char appc_release;
unsigned char appc_fixlevel;
} SNA_GLOBAL_INFO_SECT;
SNA Server returns version and release as the major and minor OS version numbers from GetVersion (for Windows NT, Windows 95, or Windows version 3.x systems) or GetDosVersion (for OS/2).
Because SNA Server has no information on the computer type, serial number, and manufacturing, product_set_id is set to EBCDIC zeros.
SNA Server does not support APPN node types, so the node type is returned as 1 (an AP_LEN node), and not 2 or 3 (AP_NN or AP_EN nodes), as defined by IBM ES for OS/2 version 1.0.