Gets or sets the name of the CICS server to run the program on, as defined in the Gateway daemon.
Namespace:
IBM.CTGAssembly: IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 9.0.0.0
Syntax
C# |
---|
public string ServerName { get; set; } |
Visual Basic |
---|
Public Property ServerName As String Get Set |
Visual C++ |
---|
public: property String^ ServerName { String^ get (); void set (String^ value); } |
Field Value
The name of the CICS server, or nullNothingnullptra null reference (Nothing in Visual Basic) to use the default server defined in the Gateway daemon.
Remarks
If ServerName is nullNothingnullptra null reference (Nothing in Visual Basic) when the request is flowed, the default server defined in the Gateway daemon will be used.
If the request is extended, this property has a meaning only for the first request within a logical unit of work (LUW). Subsequent requests within the same LUW will use the CICS server specified on the first request.
The maximum length of a CICS server name is 8 characters. If the specified value is longer than 8 characters it will be truncated.