Prototype
subroutine EcsWatchForScreenSize(integer:Rows, integer:Columns, string:WatchCommandString)
Description
Appends a command to a watch string for the number of rows and columns of the next screen, usually associated with changing 3270 Emulator screen size among different screens. The watch string may be used later in the processing with either the EcsWatch or the EcsWatchAndWait.
Parameters
Rows |
Input |
The number of lines on the terminal screen to wait for. |
Columns |
Input |
The number of columns on the terminal screen to wait for. |
WatchCommandString |
Output |
The string that will contain the instructions. |
Return Value
N/A
Example
###**************************************
### Actions to watch for new screen size
###**************************************
action WatchSize is
call EcsClearWatch ( EcsWatchCommandString )
copy text of Rows_EF to Rows_IV
copy text of Columns_EF to Columns_IV
call EcsWatchForScreenSize ( Rows_IV, Columns_IV, EcsWatchCommandString )
call EcsWatchAndWait ( EcsTimeLimit, EcsWatchCommandString )