EZTC0227E: Limitation on size of packed fields

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

I am receiving the following compiler error. What is the limit for the length of packed fields? 

fieldname W 16 P 

EZTC0227E >>> $ must be from 1 to 10 

Answer:

The limit for the length of packed fields is still 10 bytes at this time. Defining fields to be 10 bytes or less for the packed field will resolve the EZTC0227E compiler error.