In most cases, this is caused by the User ID not having the authority to add or change objects in the EVIEW library. (To test if this is the case, try the distribution using the QSECOFR login if it is available.)
The user ID used for distributions must have at least the *CHANGE authority to the EVIEW library. Use the EDTOBJAUT OBJ(EVIEW) OBJTYPE(*LIB) command to add the user ID to the EVIEW library's authorization list.
The user ID must also have authority to modify the eight configuration objects within the EVIEW library. Use the GRTOBJAUT command to grant authority to these objects:
GRTOBJAUT OBJ(EVIEW/EVF020) OBJTYPE(*FILE) USER(user) AUT(*ALL) GRTOBJAUT OBJ(EVIEW/EVF021) OBJTYPE(*FILE) USER(user) AUT(*ALL) GRTOBJAUT OBJ(EVIEW/EVMSGQCFG) OBJTYPE(*FILE) USER(user) AUT(*ALL) GRTOBJAUT OBJ(EVIEW/EVPARMS) OBJTYPE(*FILE) USER(user) AUT(*ALL) GRTOBJAUT OBJ(EVIEW/EVJOBFILT) OBJTYPE(*FILE) USER(user) AUT(*ALL) GRTOBJAUT OBJ(EVIEW/EVFILTRSPC) OBJTYPE(*USRSPC) USER(user) AUT(*ALL) GRTOBJAUT OBJ(EVIEW/EVQCFGSPC) OBJTYPE(*USRSPC) USER(user) AUT(*ALL) GRTOBJAUT OBJ(EVIEW/EVHSTFLSPC) OBJTYPE(*USRSPC) USER(user) AUT(*ALL)
In rare cases, the distribution may be caused by an out of space condition on the IBM i agent. Verify that sufficient disk space is available for the EVIEW library.