Previous Topic: DELVAR CommandNext Topic: GETREXXL Command


GETMSGI Command

The GETMSGI command fetches the internal pointer to an action message and the actual message text.

This command has the following format:

"GETMSGI"

Usage Notes:

When you invoke the GETMSGI command, it populates the following REXX variables as shown:

REXX Variable

Contents After Invoking GETMSGI

DOMID.0

The number of messages in the CA Automation Point action message recall list. This variable contains a value from 0 through 100.

DOMID.n

The internal pointer to message number n in the action message recall list.

DOMID_MSG.n

The text for action message number n in the action message recall list.

After invoking the GETMSGI command, you can use the DOM command to delete specific action messages from the CA Automation Point action message recall list.

Example:

Suppose that you want to delete all of the action messages in the CA Automation Point action message recall list every night at midnight. You could set up a time rule to invoke a REXX program like the following one:

"GETMSGI"
DO CNT=1 TO DOMID.0 BY 1
  INTERPRET 'CUR_DOMID=DOMID.'CNT
  "DOM DOMID(&CUR_DOMID)"
END