Returns the direction of the last data stream.
Returns the direction of the last data stream as one of the following values:
The data stream last received was sent by the PLU, that is, the application.
The data stream last received was sent by the SLU, that is, the terminal.
Example: &MAIFRLU
&IF &MAIFRLU = SLU &THEN &GOTO .TERMINAL
Notes:
An &MAIFRLU issued when there is no data outstanding returns a null value. Data is outstanding from the time an &MAIREAD is satisfied until an &MAICONT, &MAIDEL, or another &MAIREAD is issued.
&MAIFRLU is most often used after an &MAIREAD ANY has been satisfied, so that the procedure can determine which data stream has been received.
| Copyright © 2009 CA. All rights reserved. |
|