Background Color | ||
---|---|---|
| ||
ISession::Connect |
Establish a connection to a QWS3270 session.
Background Color |
---|
...
...
Function Connect([Session As String = "A"]) As Long |
Parameters
No | Name | Type | Optional | Default | Description |
---|---|---|---|---|---|
1 | Session | String | Yes | "A" | |
Return Code | Description | ||||
JGS_OK | Success | ||||
JGS_PARAMETERERROR | Missing or invalid parameter | ||||
JGS_NOTCONNECTED | Specified session ID was invalid or no session with that ID is connected | ||||
JGS_PSBUSY | Connect successful but session is busy | ||||
JGS_INHIBITED | Connect successful but session is locked (input inhibited) | ||||
JGS_SYSERROR | The function failed due to a system error | ||||
JGS_UNAVAILABLE | Specified session is unavailable (already in use) |
Sample Code
Background Color | ||
---|---|---|
| ||
Dim myString as String Dim result as Long myString = "E" result = sess.Connect(myString) |
Back to ISession members
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.