5.3.9 GETBYPOS
The GETBYPOS command retrieves the value of a field on the current aXes terminal screen by reference to the screen row and column number.
To exchange field RTNVALUE value, you will need to specify the SERVICE_EXCHANGE(*FIELD) in the command
Syntax:
Command |
Keyword |
Value |
Developer notes |
GETBYPOS |
ROW |
row number |
Required. The screen row number of the required field. The row and column together must refer to the first position of the required field. |
COL |
column number |
Required. The screen column number of the required field. The row and column together must refer to the first position of the required field. |
|
RTNVALUE |
field-name |
Required. |
Example
GETBYPOS ROW(8) COL(44) RTNVALUE(MYCUSNUM) SERVICE_EXCHANGE(*FIELD)