Issue/Problem/Symptoms:
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.
Environment:
z/OS
Cause:
COBOL work areas may not be coded with sufficient space.
Resolution/Workaround:
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:
//SYSUT1 DD UNIT=&WRKUNIT.,SPACE=(CYL,(5,3))
//SYSUT2 DD UNIT=&WRKUNIT.,SPACE=(CYL,(5,3))
//SYSUT3 DD UNIT=&WRKUNIT.,SPACE=(CYL,(5,3))
//SYSUT4 DD UNIT=&WRKUNIT.,SPACE=(CYL,(5,3))
//SYSUT5 DD UNIT=&WRKUNIT.,SPACE=(CYL,(5,3))
//SYSUT6 DD UNIT=&WRKUNIT.,SPACE=(CYL,(5,3))
//SYSUT7 DD UNIT=&WRKUNIT.,SPACE=(CYL,(5,3))