If you specify an application-supplied command with the INIT option, you should pattern the command after ISREIRTI. It can create a different number of rows, use a different naming convention for the backup data sets, or specify "keep" (instead of "delete") as the backup data set disposition. The format of the EDIF recovery table must be the same as that specified in ISREIRTI.
The dialog can check the variables and use them to display information to the user. The dialog must not change them. If EDIREC QUERY indicates that recovery is not pending, the previous variables are not meaningful.
ZEIUSER is an extension variable in the EDIF recovery table that is provided to contain user data. Whatever data is in dialog variable ZEIUSER in the shared pool is saved to the ZEIUSER variable in the EDIF recovery table when the recovery data set is initialized. This is done if RECOVERY is ON when first entering Edit or after using the SAVE command.
When EDIREC is called with the QUERY option and the return code is 4, indicating that recovery is pending, the data is read out of ZEIUSER in the table and returned to ZEIUSER in the shared and function pools. If recovery is not pending, this variable is not meaningful.