VERIFIED SOLUTION i

Error GEN0331A in EngageOne Generate

Issue

EngageOne Generate fails with following error -

'GEN0331A Error writing record with length of #### bytes to output file' 

Cause

There could be multiple scenarios in which this error encounters -
  1. One of the common scenario is not having sufficient disk space where output file is being generated. 
  2. AFP file is being generated from EngageOne Generate as an output and value of "Limit record length" in the AFP output device was set to lower than the byte limitation reported in the error.

Resolution

UPDATED: June 28, 2019
To avoid this error - 
  • Set the value of "Limit record length" in the AFP output device higher than the byte limitation reported in the error.
  • Make sure there are no disk quotas causing this problem.
  • Make sure "Memory Handling" settings while publishing or in the Override Production Settings (OPS) were adequate. 
  • If it is not possible to avoid the error with the following options, then OPS file can be modified to change the location of the output temp file to another drive.   For example:

output1=%archout%.AFP,H:\temp.afp