Currently, OPSDOM issues no return code. The returned value is always zero.
Example: OPSDOM
Assume that the following statements exist in a 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 may then be coded in a rule or OPS/REXX program that executes at a later time:
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.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |