SetName_(Method)
Change the title of the QWS3270 window for a session.
Function SetName(Session As String, name As String) As Long
Parameters
No | Name | Type | Optional | Default | Description |
---|---|---|---|---|---|
1 | Session | String | No | - | One character session ID |
2 | name | String | No | - | New window title |
Return Code | Description | ||||
JGS_OK | The function was successful | ||||
JGS_NOTCONNECTED | Your application is not currently connected to any valid session | ||||
JGS_PARAMETERERROR | Missing or invalid parameter | ||||
JGS_MEMORY | Insufficient memory | ||||
JGS_SYSERROR | The function failed due to a system error | ||||
JGS_PSENDED | The session has ended |
Sample Code
Dim mySession as String
Dim myName as String
Dim result as Long
mySession = "E"
myName = "Jolly Giant Software"
result = win.SetName(mySession, myName)
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.