IDMSDMLC Cobol precompiler adding bytes to record length

Document ID : KB000013245
Last Modified Date : 07/05/2018
Show Technical Document Details

I precompiled a COBOL program through the IDMSDMLC precompiler. The record that was copied from the dictionary had a FILLER with additional bytes added to it.

Why did this happen?


This is normal and is documented in DocOps, see the comments after SUBSCHEMA-RECORDS  in the DATA DIVISION section:

"Because COBOL doubleword aligns an 01 level record, the precompiler adds up to seven bytes, if necessary, to make the record length divisible by eight when copying in a schema-owned record to an 01 level." 


This should not affect the runtime environment.