SetHostPort

Allows the setting of the host TCP port. You must also set the BlueZone session type and session ID.

Parameters
SessionType
0 - Mainframe; 1 - iSeries; 2 - VT ; 3 - UTS; 4 - T27; 6 - 6530
SessionId
1 for S1; 2 for S2; 3 for S3, etc.
TCPPort
TCP Port Number
Returns
0 for success; or a non-zero error code. Refer to Error codes for a complete listing of error code descriptions.
Example
Set bzhao = CreateObject( "BZWhll.WhllObj" )
bzhao.SetHostPort 0, 1, 2099