Previous Topic: &AOMMPFSP

Next Topic: &AOMMSGID


&AOMMSGCD

A system variable that indicates the message code assigned to this message, as set by the screening table.

As well as route codes and message levels, further restrictions on message delivery is performed by setting specific message codes.

A users profile is set with a message code mask to restrict message delivery to that user.

For more information about user profiles, see the Security Guide.

Default setting of 00 is assigned if message code is not set by AOM screening table.

Example: &AOMMSGCD

.LOOP &AOMREAD SET 
&IF &AOMMSGCD NE 00 &THEN &GOTO .MSGRESTRICT
 .
 .
 .

Note: Message code masks provide a method of selective message delivery.

More information:

&AOMROUTC