Previous Topic: &RETCODE

Next Topic: &SYSID


&ROUTECODE

A system variable that contains the routing code(s) assigned to the current message, in &MASKCHK format.

The routing codes(s) that is assigned to a message are in the range from 1 to 128. This is a 128-character system variable containing 128 Y/N values representing the routing code(s).

For example, ROUTCODE=(1,2,3,11) yields a 128-byte value of YYYNNNNNNNYNNNNN....N.

Example: &ROUTECODE

&ROUTECODE = &MASKCHK YYYNNNNNNNYNNNNN &AOMRMASK

&AOMRMASK is used to identify invalid route codes.

More information:

&AOMRHEX

&AOMROUTC