HP RPG/iX Utilities Reference Manual (30318-90006)
7-69
00005I C 33NECX
00010FNC 6 9
00010FNC 6 9
00020FDC 1 32
00020FDC 1 32
00030FDV *
00030FDV *
: EOD
RECORDS READ = 5
RECORDS SELECTED & SORTED = 4
NUMBER OF COMPARES = 7
SCRATCHFILE I/O = 2
CPU SECONDS = .440
ELAPSED SECONDS = 1.884
TOTAL CPU SECONDS = 1.779
END OF PROGRAM
:SAVE TSTOUT
1 After the command to run XSORT is given, the program prints an identification banner. When it
is completed, the user enters the specifications for the session.
2 The specifications, which the user enters without prompting from XSORT, are echoed back to the
terminal.(Note that theechoing can be eliminated by specifying a Print Option of 1, 2, or 3 in Head-
er column 27.)
3 The user must supply the colon before the EOD.
Example 4: Using XSORTEXT, Case 1
Single input to different output. Both XSORTIN and XSORTOUT are disk files.
:PURGE TSTOUT
:FILE XSORTIN=TSTIN
:FILE XSORTOUT=TSTOUT
:FILE XSORTEXT=TSTSPEC
:RUN XSORT.PUB.SYS
HP32104A.05.00 EXTRA FUNCTION SORT FOR RPG/3000 (XSORT)
(C) HEWLETT-PACKARD CO. 1980 WED, MAR 11, 1981, 9:21 AM
00000HSORTR 4A X 33
00005I C 33NECX
00010FNC 6 9 Specifications
0002OFDC 1 32 from TSTSPEC