JES000122S Failed to get SPLDSN record lock. FS: <file status>, Job# <job number>, DD# <DD number>, Loc: <source location>

This error, together with JES000124S is generated by the spool module when it fails to obtain the required lock on a SPLDSN record.