With INREC, OUTREC, and OUTFIL, you can perform a wide variety of tasks while sorting, copying, or merging, including the following:

15 Real Uses of DFSORT
- Delete fields.
- Reorder fields.
- Insert separators (blanks, zeros, strings, current date, future date, past date, and current time).
- Translate data from uppercase to lowercase, lowercase to uppercase, EBCDIC to ASCII and ASCII to EBCDIC.
- Translate data to hexadecimal and bit representation.
- Convert numeric values to many different types of printable formats with or without thousands separators, decimal point, leading or suppressed zeros, and signs.
- Convert numeric values from one format to another format.
- Perform arithmetic using numeric values and decimal constants.
- Convert date fields from one type to another type.
- Perform arithmetic using date fields.
- Change values using a lookup table.
- Replace or remove data using find and replace operations.
- Insert sequence numbers.
- Left-justify data, right-justify data, left-squeeze data, and right-squeeze data.
- Perform various operations on groups of records.
You must be logged in to post a comment.