Page 1 of 1

Offset word in cobol or EZT

PostPosted: Wed Nov 30, 2016 3:38 pm
by arya_starc
Can offset and position word can be used interchangeably in Cobol and ezt?

Re: Offset word in cobol or EZT

PostPosted: Wed Nov 30, 2016 6:06 pm
by Robert Sample
No, offset and position are not interchangeable -- not in COBOL, not in Easytrieve (which is what I assume you meant by EZT), not in assembler, not on a PC, not on a Unix / Linux machine. Offsets start at zero while positions start at 1. The first byte of a record has offset 0 and position 1.