If STARTKEY is specified in the command, DFSMShsm starts with the BCDS record that the command specifies.
If RESUME is specified in the command and the saved last-processed key is not blank, DFSMShsm starts with the saved last-processed key.
If neither STARTKEY nor RESUME is specified in the command or if RESUME is specified but the saved last-processed key is blank, DFSMShsm starts with the first record in the BCDS.