Our nightly backups consist of a series of saves to save files, followed by a save of the save file library to tape.
For the past 10 days or so the program has been receiving CPF3761 - Cannot use FILE EC#FILE in SAVELIBS. milliseconds after the SAVLIB command is issued. The second-level text reads FILE EC#FILE is locked by another job, or another save or restore operation is in progress for this object or for library SAVELIBS.
A WRKOBJLCK OBJ(SAVELIBS/EC#FILE) OBJTYPE(*FILE) OUTPUT(*PRINT) issued just prior to the SAVLIB tells me that no locks exist for the specified object.
An ALCOBJ OBJ((SAVELIBS *LIB *EXCLRD)) issued just prior to the SAVLIB has no effect.
The only time CPF3761 didn't make an appearance was after I'd deleted the EC#FILE save file from the library (the program will create a save file if one doesn't exist).
Reviewing the system logs for the times in question don't show anything that could be locking the save file. The scheduled run time has been changed (twice) to try and avoid anything missed in the logs, to no effect.
I'm running pretty low on ideas, so any suggestions would be appreciated.