Issue:
When adding a USS file to Endevor, that action can fail with RC=0012, with the error message:
C1G0510E USS OPN ERROR - RC=0000006F, REASON CODE=00000004, RETURN VALUE=FFFFFFFF, PERMISSION IS DENIED
C1G0000I PATH /a/test01/
C1G0000I MEMBER test.jar
SMGR153E I/O ERROR READING FILE - DDN=/LNS....
C1G0268E ELEMENT RECORD WAS NOT FOUND FOR ELEMENT IN ENV: ENV1 SYS:
C1G0277I ADD PROCESSING TERMINATED BECAUSE OF THE PREVIOUS ERROR
Solution:
Use the USS literal to identify the cause. In this case, the problem was with USS permissions on the added file. Use CHMOD to change the permissions to allow Endevor to read the file.