Previous Topic: &AOMDESC

Next Topic: &AOMDMASK


&AOMDHEX

A system variable that contains the descriptor code(s) assigned to the current message, in hexadecimal.

The descriptor code(s) that is assigned to a message are in the range from 1 to 16. This is a two-byte (four-character) system variable containing the hexadecimal representation of the descriptor code(s).

For example, a WTO macro specifying DESC=(3,7,9) yields a hexadecimal value of X'2280' in &AOMDHEX.

Example: &AOMDHEX

& AOMREAD ARGS
 .
 .
 .
&CALL USERPROG &AOMDHEX
 .
 .
 .

Note: This system variable is particularly useful for passing the descriptor code(s) to a called program.

More information:

&AOMDMASK

&AOMCONNM