Diagnostics
Symptom
0 ERROR AT OR NEAR LINE 49 IN PROCEDURE xxxxxFOCEXEC *
(FOC350) ERROR WRITING OUTPUT FILE: HOLD
Problem
A WebFOCUS iBatch JCL job fails with the error messages above for a report that generates a very large HOLD file. (1,484,338 records)
Solution
Sometimes it is necessary to override the default allocations for temporary files.
DYNAM SET TEMPALLOC statements can be specified in the edasprof file to define default allocations for various temporary files, in this case, HOLD.
For example in the following example, the first setting enables the feature and the second provides the default allocation desired.
DYNAM SET TEMPALLOC MVS
DYNAM SET TEMPALLOC FOR HOLD CYLS SPACE 90 70 UCOUNT 7For additional information, refer to the Server AdministrationWebFOCUS Reporting Server Release 82 DataMigrator Server Release 7707 guide in the Allocating Temporary Files section on page 243.
Specifying the TEMPALLOC statements for HOLD resolved the issue.