SORTEND [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation
MPE/iX Intrinsics Reference Manual
SORTEND
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)
MPE/iX 5.0 Documentation