IBM Support

Why is my program being truncated during a COBOL build?

Question & Answer


Question

We just installed an SCLM translator to do COBOL compile with DB2. The output from the translator, as seen in the compiler step, looks to have been chopped off, without an IDENTIFICATION DIVISION or WORKING STORAGE SECTION. Do you have any thoughts on what might cause that?

For example, I can see an IDENTIFICATION DIVISION in the program, but I get message:

IGYDS1000-E A "IDENTIFICATION DIVISION" header was not found in this
program. It was assumed present.

Answer

Check the FLMALLOC statements in your COBOL language definition. It is likely that one or more of your FLMALLOC statements has a RECNUM value that is too low. SYSUT5 is most often the culprit. Increase the RECNUM value on the suspect FLMALLOC statements, recompile and relink your project definition, and try the build again.

Frequently, the only symptom of this problem is a build listing that is too short.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSAU5Z","label":"COBOL Compilers"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCVRUA","label":"SCLM for z\/OS"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 July 2021

UID

dwa1449859