Offset versus displacement considerations for structures

Some APIs use the term offset while other APIs use the term displacement to describe distances.

For example, the Retrieve Data Queue Message (QMHRDQM) API uses offset; the List Objects (QUSLOBJ) API uses displacement.

An offset is the distance from the beginning of an object (user spaces and receiver variables) to the beginning of a particular field. However, a displacement is the distance from the beginning of a specific record, block, or structure to the beginning of a particular field.