Previous Topic: OPSDUMP Function

Next Topic: OPSECURE Function

Values OPSDUMP Returns

OPSDUMP returns the return code from the SDUMP service routine (zero in most cases). However, when an OPS/REXX program that is not in supervisor state calls OPSDUMP, no SVC dump occurs and the function returns a value of 8.

Example: OPSDUMP

The following example illustrates how you can use the OPSDUMP function to take an SVC dump of an address space that caused an MSG rule to execute. The dump also includes CA OPS/MVS private storage. After executing, the rule disables itself, preventing multiple dumps.

)MSG somemsg
)PROC
  qq = OPSDUMP(“This is just a test of OPSDUMP”,”OPS”)
  address AOF “DISABLE” OPSINFO(“MAINPGM”)