Use of "LL" and "ZZ" fields in IMS PL/I application

This topic describes the use of the of "LL" and "ZZ" fields in an IMS™ PL/I application.

Problem:

The LL field in PL/I language structures is treated correctly as 2 bytes by the PL/I XML Converter in IMS Connect only when the names of the first 2 fields in the language structure exactly match "LL" and "ZZ" (As shown in the italic strings below).

Typically, the IMS PL/I application has the following PL/I data structure:
DCL 1 INPMSG,
          10 LL         FIXED BIN(31),
          10 ZZ         BIT(16),
          10 TRANCODE   CHAR(8),
          10 BLANK      CHAR(1),
          10 INDATA,
               30 FUNC  CHAR(3),

         :

Solution:

Rename the first two fields to "LL" and "ZZ" respectively and regenerate the PL/I XML Converter.