Please check, change and test the following - even just one of the following suggestions, could resolve the problem:
- first try to use REGION=0M and if it fails nevertheless change REGION from 0 to a real value what is actually required approximately + some buffer
- try CALL(AMODE31) on the PARM statement in order to run the program above the line (or change AMODE31 to Y in the EZOPTBL options table)
- if ENVIRONMENT is set to COBOL, then setting LE option ALL31 to ON could resolve the problem (but please be aware - ALL31 must be OFF if calling 24-bit sub programs)
- decrease BUFNO, for example from 10 to 2 or 1 in the options table (2 is the default)
- increase the SPACE at the EZTVFM DD to 500 or even more, for example:
//EZTVFM DD UNIT=SYSDA,SPACE=(CYL,(500),,CONTIG)
or increase VFMSPAC in options table
- increase STORMAX in options table to 8192K (default is 4096K)
WORKFILE (YES 500)
on PARM
- if using many REPORT files with BLKSIZE=0 or a high value, then try to use a lower value at BLKSIZE
- try
SORT (MEMORY (MAX -16))
on PARM statement
- apply all published PTFs, if not already done