U0029003 Cannot open file 'UC4/TMP(OAAFCNKU)', error code '3101'

Document ID : KB000089088
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
U0029003 Cannot open file 'UC4/TMP(OAAFCNKU)', error code '3101'
Resolution:
Detailed Description and Symptoms

User receives error: "U0029003 Cannot open file 'UC4/TMP(OAAFCNKU)', error code '3101', error description: 'A non-recoverable I/O error occurred" when trying to run an OS/400 job. 

Investigation:

This error is due to the fact the OS400 Agent TMP fle has reached the maximum number of members per file. 

The file needs to be cleared in order for the process to continue. 

Solution

Delete the TMP file and recreate it new. 

First, stop the agent. Then, delete the TMP File out of the libary with the command: "DLTF FILE(UC4/TMP)" and create it new: "CRTPF FILE(UC4/TMP) RCDLEN(256) MAXMBRS(*NOMAX) SIZE(*NOMAX)". Then restart the agent and try it again.