Environment
PSAUDIT
Situation
Error: "Compile of program DDPF51 failed; source copied to &PSALIB/SOURCEDD."
Resolution
Turn off journaling for the file, remove the file from the list, and then add it back.
From the PSAudit Menu, follow these steps:
1.  Select Option 3  Data Auditing and Reporting. 
2.  Find the file to be worked with.
3.  Select Option 1=Journal ON/OFF on this file and press Enter.
4.  Press F5=Refresh to verify that the "Being Journaled" flag is set to "N". 
5.  Select Option 4=Remove from list on this file and press Enter.
6.  Go to a command prompt and check for object locks:
        WRKOBJLCK OBJ(LIBRARY/FILE) OBJTYPE(*FILE)
7.  Clear any locks that remain.
8.  Go back into the Data Auditing and Reporting screen.
9.  Press F6=Add to add the file back to the list. 
10. Select Option 6=Work with Fields on this file.
11. Press F7 to select all fields.
12. Validate that all the fields have a C=Detect Changes by paging up and down through the list.
13. Select Option 1=Journal ON/OFF.
14. Go to a command prompt and check for object locks:
        WRKOBJLCK OBJ(LIBRARY/FILE) OBJTYPE(*FILE)