System Debug Reference Manual
> Chapter 3 System Debug Interface Commands and IntrinsicsHPRESETDUMP Intrinsic |
||||||||||||||||||||||||
|
SyntaxHPRESETDUMP (status); Parameters
DiscussionThe HPRESETDUMP intrinsic disarms the Debug call that is made during abnormal process termination. If the Setdump feature was not previously armed by one of the Setdump intrinsics or commands, this intrinsic has no effect. Only the current process is affected; all other existing processes retain their current Setdump attributes. After this call, any child process of the calling process will not have the Setdump attribute. This intrinsic performs the same function as the RESETDUMP intrinsic.The only difference is the means by which status information is returned. Refer to the MPE/iX Intrinsics Reference Manual for additional discussion of this intrinsic. Condition CodesThis intrinsic does not return meaningful condition code values. Status information is returned in the optional status parameter described above. ExampleThe following example is a code fragment from a Pascal program. It declares HPRESETDUMP as an intrinsic and then calls it. PROCEDURE call_hpresetdump; VAR status : integer; procedure HPRESETDUMP; intrinsic; BEGIN HPRESETDUMP(status); IF (status <> 0) THEN error_routine(status, 'HPRESETDUMP'); END;
|