HPRESETDUMP intrinsic [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
HPRESETDUMP intrinsic
Disarms Debug call which is made during abnormal process terminations.
Callable from: NM
Syntax
HPRESETDUMP (status);
Parameters
status 32-bit signed integer (optional)
The status returned by the HPRESETDUMP intrinsic call.
The variable is a record containing two 16-bit fields,
with the error number in the high-order 16 bits and the
intrinsic subsystem number in the low-order 16 bits.
Discussion
The 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 XL Intrinsics Reference Manual (32650-90028) for
additional discussion of this intrinsic.
Condition Codes
This intrinsic does not return meaningful condition code values. Status
information is returned in the optional status parameter described above.
Example
The 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;
MPE/iX 5.0 Documentation