Number of data words from bytes

In reply to Mark Curry:

In reply to Robert.Lanier:
Try this:

localparm NUM_WORDS = ( NUM_BYTES + 3 ) / 4;

What makes this work is that the division is integer division.

Seems like you would need a ceiling function for this to work.