A computer program product for, by one or more processors, predetermining optimal demount placement in an automated data storage library, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:
- an executable portion that predetermines, during robotic movement of an accessor moving a first data storage cartridge within the automated data storage library, a selected demount position of a destination slot for a second data storage cartridge being currently mounted and to be demounted by the accessor immediately subsequent to the movement of the first data storage cartridge, wherein idle time of the accessor during the demount is reduced;
- and
- an executable portion that recalculates the selected demount position of the destination slot for the second data storage cartridge for demounting the second data storage cartridge while performing a subsequent demount operation;
- wherein the selected demount position is determined according to the recalculation prior to a demount command being issued.