IApplication Close (Method)
Disconnect from the host and close the application.
Function Close([sess_id As String = "A"]) As Long
Parameters
No | Name | Type | Optional | Default | Description |
---|---|---|---|---|---|
1 | sess_id | String | Yes | "A" | One character session ID (A-Z) |
Return Code | Description | ||||
JGS_OK | Success | ||||
JGS_SYSERROR | The function failed due to a system error | ||||
JGS_PARAMETERERROR | Parameter not specified or an invalid type or value was specified | ||||
JGS_INVALIDPSID | No session with the specified session ID exists |
Sample Code
Dim myString as String
Dim result as Long
myString = "E"
result = app.Close(myString)
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.