You can design your EFS program to perform seven basic tasks at
the initialization, input, and termination phases of DFSORT. Some
of the tasks require using the EFS program-generated user exit routines
EFS01 and EFS02.
Table 1. Functions of an Extended Function Support (EFS) ProgramFunctions of an Extended Function Support (EFS) Program EFS Program Functions
|
Initialization Phase |
Input Phase |
Termination Phase |
---|
Opening and initializing |
EFS Program |
|
|
Examining, altering, or ignoring DFSORT and non-DFSORT
control statements prior to processing by DFSORT |
EFS Program |
|
|
Sorting or merging user-defined data types with user-defined
collating sequences |
|
EFS01 |
|
Providing the logic to include or omit records based on
user-defined data types |
|
EFS02 |
|
Supplying messages to DFSORT for printing to the message
data set |
EFS Program |
|
EFS Program |
Terminating DFSORT |
EFS Program |
EFS01, EFS02 |
EFS Program |
Closing data sets and housekeeping |
|
|
EFS Program |