A substring operation allows you to use part of a field or constant in a logical file.
For bracketed-DBCS data types, the starting position and the length of the substring refer to the number of bytes; therefore, each double-byte character counts as two positions. For the DBCS-graphic (G) data type, the starting position and the length of the substring refer to the number of characters; therefore, each double-byte character counts as one position.