Cobol compiler within processor failing to produce valid OBJECT code.

Document ID : KB000044695
Last Modified Date : 14/02/2018
Show Technical Document Details


The COBOL compiler is failing to produce a valid object for vary large COBOL programs. You may also have the object that is produced be missing parts of the program that makes it invalid.

This processor works correctly for other COBOL programs that are smaller in size.




COBOL work areas may not be coded with sufficient space.


1. Review the Endevor processor that was run. Find the COBOL compiler step. 

2. Ensure that it has DDs SYSUT1 to SYSUT7.  These 7 DDs are the work area for the COBOL Compiler.

3. Ensure that you have all 7 coded and you have coded at minimum SPACE=(CYL,(5,3)).  A allocation of SPACE=(CYL,(10,10))

should be sufficient for an extremely large program(100k).


Additional Information:

In the samples the COBOL compiler is coded with SPACE=(CYL,(5,3)). 

These samples are located in the current release under  administrating ,extended processors, sample processors then select the generate processor and scroll down to the COBOL processor.

This is a link to the v18 documentation.


This is the DDs in the sample: