/
Get IScreen (Method)

Get IScreen (Method)

 


IScreen::Get

Get the contents of the current QWS3270 screen.

Function Get(buffer As String, bufsize As Long) As Long

Parameters

NoNameTypeOptionalDefaultDescription
1bufferStringNo-

Buffer to hold string contents

2

bufsize

Long

No

-

Size of data buffer, must be defined as at least screen size + 1

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_SYSERROR

The function failed due to a system error

JGS_FTXSEGMENTED

The session screen was successfully copied, the session is waiting for a host response

JGS_INHIBITED

The session screen was successfully copied, the keyboard is locked

Sample Code


 


Dim myScreen as String * 4000
Dim myLength as Long
Dim result as Long
result = screen.Get(myScreen, myLength)



Back to IScreen member

QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.


 

 

Related content

Get_(Method).
More like this
VBS_Get IScreen (Method)
VBS_Get IScreen (Method)
More like this
VBS_Get (Method).
VBS_Get (Method).
More like this
GetWithAttribs (Method)
GetWithAttribs (Method)
More like this
GetWithAttribs (Method).
GetWithAttribs (Method).
More like this
VBS_GetWithAttribs (Method)
VBS_GetWithAttribs (Method)
More like this