Note: MFJSORT and MFSORT are updated with new features on a regular basis but they do not offer a complete emulation of third-party
sort utilities. If there are particular features that you need to use, please contact
Customer Care to establish if they are available in MFJSORT or MFSORT.
MFJSORT provides the following sort/merge operations for sequential data sets:
- Sorting data sets by ascending or descending keys
- Merging data sets by ascending or descending keys
- Copying data sets
- Selecting the records to be processed
- Rearranging the fields in the records
- Correctly processing two-digit year fields
- Transforming two-digit year fields to four-digit fields
- Summing numeric fields in records with duplicate keys
- Creating multiple output data sets
- Performing limited arithmetic operations on reformatted outputs; see note.
- Using an alternate collating sequence
- Executing E15, E35 exit programs.
Note: For arithmetic operations:
- The result of an arithmetic operation is an 18 digit ZD value, which can be converted to a different numeric format, or edited
using pre-defined edit masks (M0-M26) or user-defined edit masks.
- Complex arithmetic operations using parentheses are not supported.
- Arithmetic operations performed on other arithmetic operations are not supported.
- Arithmetic operations performed with decimal values like +20, +100, etc... (for example,
OUTREC FIELDS=(1,2,BI,MUL,+20)) are not supported.
- When PARM=SIGN-EBCDIC is set, numeric DISPLAY items with included signs are interpreted according to the EBCDIC convention.
SIGN-EBCDIC is not required when MF_CHARSET is set to EBCDIC; it is required for data that is otherwise ASCII, such as when
the program which created the data was compiled with the SIGN"EBCDIC" Compiler directive.