Josep

On 9 May 2011 18:28, JosepM <[email protected]> wrote:
> Hi Peter,
>
> So PIC9(5) COMP-3 is 5 bytes / 2 = 2.5 rounded to 3 bytes?

No, PIC9(5) is a 3 byte field - 5 digits + sign - each of which is 4 bits long.

When a PIC9(5) field is included in a record the compiler might insert
a 'padding' byte so that the next field starts on a 'word' boundary.

I'm fairly certain that IBM COBOL pads records, I don't know about ACCUCOBOL.


> Also I see that the first record contain some garbage or almost I don't have
> idea how decode it.
>
 It is probably a header record.

Regards

Peter

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to