The ARCBDEXT installation exit, called during volume backup processing, receives control after determines that a data set should be backed up but before backs it up. It also receives control during the backup of individual data sets through the BACKDS and HBACKDS commands and during the backup of migrated data sets.
A RETAINDAYS value may be returned by the exit for the data set. If a RETAINDAYS value was also specified on the BACKDS/HBACKDS command, then the value specified on the command will be used. If a value greater than 50000 (other than 99999) is returned by the exit, it will be interpreted as 50000. A decimal value of 99999 will indicate that the backup version should never expire. If a value less than zero is returned by the exit, it will be interpreted as zero.
The ARCBDEXT routine must be reentrant.