Previous Topic: OPSDOM FunctionNext Topic: OPSDUMP Function


Values OPSDOM Returns

OPSDOM issues no return code. The returned value is always zero.

Example: OPSDOM

Assume that the following statements exist in an MSG rule:

GLVTEMP3.WTOID = MSG.WTOID
GLVTEMP3.TOKEN = MSG.TOKEN

Note: You cannot DOM a message in the MSG rule that executed for that message.

One of the following statements can then be coded in a rule or OPS/REXX program that executes later:

temp = OPSDOM('D',C2D(GLVTEMP3.WTOID))
temp = OPSDOM('T',GLVTEMP3.TOKEN)
temp = OPSDOM('W',GLVTEMP3.WTOID)

Note: The TOKEN keyword must be issued under the same address space as the message that is being deleted. Therefore, the utility of this keyword is limited.