HP RPG/iX Utilities Reference Manual (30318-90006)
A- 99
A Appendix A COMPATIBILITY WITH
OTHER SYSTEMS
Compatibility with SORT3
XSORT is based on the unsupported utility program named SORT3. To avoid difficulties in converting
from SORT3, XSORT has been designed to recognize the formal file designators used by SORT3. There are
no significant differences in the syntax of the sort specifications between the two products. The only issue
to resolve in the conversion is the naming of the program file--XSORT vs SORT3. To do this, first use the
command:
:LISTF SORT3.@.@,1
This will determine all the groups and accounts in which SORT3 has been stored. Then log on to each of
those groups and do the following:
:PURGE SORT3
:FCOPY FROM=XSORT.PUB.SYS;TO=SORT3;NEW
This will allow all old SORT3 job streams, UDC's, and operator procedures to work without requiring
changes for XSORT. The following table shows the correlation between the formal file names for XSORT
and SORT3.
File XSORT NAMES SORT3 NAMES CONVERSION ACTIONS
Program XSORT.PUB.SYS SORT3.grp.acct :HELLO user.acct, grp
:PURGE SORT3
:FCOPY FROM=XSORT.PUB.SYS;&
:TO=SORT3;NEW
Specifications XSORTEXT SPECCARD No action necessary.
Single input XSORTIN SORT3IN No action necessary.
(Note, however, that the first input file, "...IN" or
"...IN1," is what determines whether XSORT or
SORT3 names will be expected for rest of the
input/output files. No mixing of formal file names
is allowed among the input and output files within
any sort job.)
Multipleinput XSORTIN1
:
XSORTIN9
SORT3IN1
:
SORT3IN9
No action necessary.
(Note, however, that the first input file, "...IN" or
"...IN1," is what determines whether XSORT or
SORT3 names will be expected for rest of the
input/output files. No mixing of formal file names
is allowed among the input and output files within
any sort job.)