MsSna_TN5250Definition Class
The definition of a TN5250 session.
The following syntax is simplified from MOF code.
Syntax
class MsSna_TN5250Definition : MsSna_Config
{
String Name;
String Service;
String RemoteLUAlias;
String LocalLUAlias;
String Comment;
String User;
String Password;
String Mode;
sint32 TermTypes;
sint32 Port;
};
Parameters
Name
Data Type: String Qualifiers: Key,MAXLEN(10) Access Type: Read/Write
The session name.
Service
Data Type: String Qualifiers: MAXLEN(20), TOUPPERCASE Access Type: Read/Write
The SNA service to which this session belongs.
RemoteLUAlias
Data Type: String Qualifiers: MAXLEN(8)Access Type: Read/Write
The local LU alias used in the session.
LocalLUAlias
Data Type: String Qualifiers: MAXLEN(8) Access Type: Read/Write
The local LU alias used in the session.
Comment
Data Type: String Qualifiers: MAXLEN(25)Access Type: Read/Write
An optional comment field.
User
Data Type: String Qualifiers: MAXLEN(10)Access Type: Read/Write
The IBM i user name used in the session.
Password
Data Type: String Qualifiers: MAXLEN(10)Access Type: Read/Write
The IBM i password used in the session.
Mode
Data Type: String Access Type: Read/Write
The mode used in the session (QPCSUPP).
TermTypes
Data Type: String Qualifiers: QualiferValueHere Access Type: Read/Write
The terminal types allowed for the session. The following list describes the possible values for TermType.
5555_C01
5555_B01
3477_FC
3180_2
3179_2
3196_A1
5292_2
5291_1
5251_11
Port
Data Type: sint32 Qualifiers: MINVALUE(0), MAXVALUE(9999)Access Type: Read/WriteThe port used for the session. By default the value is 0.
Requirements
Platforms: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 11, and Windows 10
See Also
WMISNA WMI Provider Classes
Administration and Management Programmer's Guide