SORT-MERGE/XL Programmer's Guide (32650-90884)
62 Chapter5
Getting SORT-MERGE/XL Information
Getting Version and Title Information
Getting Version and Title Information
You can print the version of SORT-MERGE/XL, the title of the HPSORTLIB or
HPMERGELIB segment, the date, and the time to $STDLIST.
Syntax for HPSORTTITLE and HPMERGETITLE is:
HPSORTTITLE (
status
);
HPMERGETITLE (
status
);
The HPSORTTITLE or HPMERGETITLE intrinsic may be called anywhere in your program
after you have declared the system intrinsics.
An example of using HPSORTTITLE follows:
var
status : INTEGER;
.
.
.
HPSORTTITLE (status);
Example of Using HPSORTTITLE
Calling HPSORTTITLE from the core sorting routine results in the following output:
HP31900A.01.00 SORT/XL THU, JAN 26, 1989, 10:28 AM
(C) HEWLETT-PACKARD CO. 1986
Calling HPMERGETITLE from the core merging routine results in the following output:
HP31900A.01.00 MERGE/XL THU, JAN 26, 1989, 10:28 AM
(C) HEWLETT-PACKARD CO. 1984