Copies a string into the PASSPORT terminal emulation screen, to later be sent back to the host mainframe
ret = SendString (row, column, string)
ret | Integer, output |
0 = OK | |
Non Zero = Error | |
row | Integer, Input |
The starting row position in the PASSPORT screen. | |
column | Integer, Input |
The starting column position in the PASSPORT screen. | |
string | String, Input |
The string to copy into the PASSPORT terminal emulation screen. |
This function copies a string into the PASSPORT terminal emulator screen at the specified row and column position. Row 1 column 1 indicates the home position in the upper left corner of the screen.
Strings should only be copied into unprotected fields. When copied into an unprotected field, the MDT (Modified Data Tag) is set in that field so that the data is transmitted to the host whenever the ENTER key or other inbound AID key is sent.
This is a PASSPORT function.
Sub
ZMain()
SendString 20,3,"abc123"
End Sub
This example copies the string abc123 into the PASSPORT terminal emulation screen starting at row 20 column 3.