Previous Topic: &MAIREAD

Next Topic: &MAISADD


&MAIREPL

Replaces a data stream destined for the terminal.

&MAIREPL hexadecimal data

Allows the script NCL procedure to provide a replacement data stream to be sent to the terminal.

Operands:

hexadecimal data

The complete data stream to be sent to the terminal, expressed in character format hexadecimal, with each two characters representing one hexadecimal byte. For instance, if a single byte of the data stream is to contain X'1D', two characters must be specified on the &MAIREPL statement, 1D. Blanks contained on the statement are eliminated, allowing the data stream to be provided from multiple variables.

Examples: &MAIREPL

&MAIREPL F1C21140401D60C140 
&MAIREPL &1 &2 &3 &4 &5

Notes:

An &MAIREPL can only be used to replace a data stream received from the PLU (application). It is ignored if no PLU data stream is currently being processed.

An &MAICONT statement or another &MAIREAD statement is required to actually send the data stream on to the terminal.

More information:

&MAICONT

&MAIREAD