Previous Topic: &AOMWRID

Next Topic: &AOMWTO


&AOMWRLEN

A system variable containing the length of the text that is passed in reply to a WTOR.

This system variable contains the maximum length of data that is used for a reply to a WTOR.

When automating replies from AOMPROC this variable is used to ensure the reply is not rejected because the text is too long.

Example: &AOMWRLEN

 .
 .
 . 
&RLEN = &LENGTH &RTEXT 
&IF &RLEN GT &AOMWRLEN &THEN &GOTO .ERROR
 . 
 . 
 .

Note: If the current message is not a WTOR, &AOMWRLEN is null.

More information:

&AOMWRID

&AOMTYPE