Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 System Debug Interface Commands and Intrinsics

HPRESETDUMP Intrinsic

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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/iX Intrinsics Reference Manual 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;
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.