Error generating packed field (p(29)) for Cobol copy code

Trying to generate COBOL copy code, we receive error DIC1818. What is the maximum length for a packed field?. The logical DB staff is trying to generate with fields with P(29). Thanks.

Please see the max length information in the Predict documentation.
http://lagoon.hq.sag/snapshots/other/predict/extobjects/gencob.htm#Field_Format_and_COBOL_Copy_Code

Just a hint: DIC1818 is not an error but a warning

  • DIC1818 Warning: Format(s) changed ( ’ P ’ --> ’ A ')

Hi There,
Thank you Dreesen, We must change some file attributes. Let me check it, then I’ll show you the results.