HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Intrinsics Reference Manual > Chapter 4 Command Definitions

HPMERGEEND

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

NM callable only.

Releases the MERGE/XL work area and ends the merging operation.

Syntax

             I32    I32A

   HPMERGEEND(status,statistics);

Parameters

status

32-bit signed integer by reference (optional)

Returns the status of the HPMERGEEND call. If no errors or warnings are encountered, status returns 32 bits of zero. If errors or warnings are encountered, status is interpreted as two 16-bit fields.

Bits (0:16) comprise status.info. A negative value indicates an error condition, and a positive value indicates a warning condition. Refer to the MPE/iX Error Message Manual Volumes 1, 2 and 3 (32650-90066, 32650-90152, and 32650-90368) for a description of its value.

Bits (16:16) comprise status.subsys. The value represented by these bits defines the subsystem that set the status information. The subsystem identifier for HPMERGEEND is 196.

statistics

32-bit signed integer array (optional)

Returns information on the Hewlett-Packard MERGE operation, as follows:

ValueMeaning
1Number of input files
2Number of merged records
3Number of bytes used for the MERGE/XL work area
4CPU time in milliseconds
5Elapsed time in milliseconds

NOTE: The statistics array should be the same array that was passed to the HPMERGEINIT intrinsic. It must be referenced by the same name.

Related Information

Intrinsics

Hewlett-Packard SORT, Hewlett-Packard MERGE

Commands

None

Manuals

SORT-MERGE/XL Programmer's Guide (32650-90080)

Feedback to webmaster