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

SORTEND

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

NM and CM callable.

Closes the scratch file and restores the data stack to its original state.

Syntax



   SORTEND;

Operation Notes

Signals the beginning of the SORT program if the SORTOUTPUT intrinsic is not called.

Required if SORTINIT is called. Call SORTEND either after all calls to the output file are completed by the SORTINIT intrinsic, or after all calls to the SORTOUTPUT intrinsic are completed.

NOTE: If you are coding a CM application, you must call SORTEND in the same routine

in which you call the SORTINIT intrinsic. This is not the case when you code an

NM application.

Condition Codes

CCE (2)

Request granted. No error occurred during the SORT program. The value of the failure parameter of the SORTINIT intrinsic is set to false.

CCG (0)

Not returned.

CCL (1)

Request denied. An error occurred during the SORT program. The value of the failure parameter of the SORTINIT intrinsic is set to true.

Related Information

Intrinsics

HPSORT, HPMERGE

Commands

None

Manuals

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

Feedback to webmaster