You need to be aware of the internal layout of an SQL record in any of these situations:
Four bytes precede each structure item in an SQL record. The first two bytes are a null indicator, and a null is interpreted as any negative value. The second two bytes are reserved for use as a length field, and you should not access that field.
If you are generating a COBOL program, the name of an SQL record is at the 01 level, and all structure items are at the next lowest level.
Related concepts
Function part
Program part
SQL support
Related reference
Assignments
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.