Recently upgraded COBOL to 6.3 and tested a compile in Endevor batch successfully without error.
Created new COBOL 6.3 processor group and testing in ENDEVOR foreground, and received return code 16 with message:
IGYCB7145-U INSUFFICIENT MEMORY IN THE COMPILER TO CONTINUE COMPILATION
Where can the memory size be set for Endevor foreground session?
Release : 18.0, 18.1
Component : CA Endevor Software Change Manager
COBOL 6.x requires more memory/storage per KB article 72839: Using the IBM Enterprise COBOL for z/OS 5.1 and above with CA Endevor
For Endevor foreground executions, the memory allocation for the processor relies on the user's TSO Logon REGION size. If it is not possible to increase the REGION size then the compile will need to be run in batch. Related KB article: CA Endevor Foreground generates fail with a U4093 abend
For Endevor batch executions, per above article 72839, "REGION= specified in the JOB statement overrides REGION= specified in the EXEC statement", so allocating enough REGION on the job statement is the easiest option.
Otherwise, the default REGION size (4096K) for the EXEC of NDVRC1 in job step NDVRBAT can be increased in the skeleton C1SB3000 (library CSIQSENU).
NOTE: There are also 2 other skeletons ENDES000 & ENSP1000 that can also be changed in that way.
C1SB3000 - Endevor actions submitted to batch
ENDES000 - Quick-edit actions submitted to batch
ENSP1000 - Batch package facility
NOTE: Adding REGION to the EXEC statement on the Compile step in the processor does not effect the amount of store obtained because REGION is an unsupported EXEC statement parameter:
https://techdocs.broadcom.com/us/en/ca-mainframe-software/devops/ca-endevor-software-change-manager/18-1/administrating/processors/unsupported-parameters.html