Importing a COBOL language structure

The CICS® event binding editor imports COBOL data structures using these rules.

COBOL field names are displayed according to the following rules:
  1. Duplicate names are made unique by the addition of one or more numeric digits.

    For example, two instances of year become year and year1.

  2. Hyphens are replaced by underscore characters. Strings of contiguous hyphens are replaced by contiguous underscores.

    For example, current-user--id becomes current_user__id.

  3. Segments of names that are delimited by hyphens and that contain only uppercase characters are converted to lowercase.

    For example, CA-REQUEST-ID becomes ca_request_id.

  4. A leading underscore character is added to names that start with a numeric character.

    For example, 9A-REQUEST-ID becomes _9a_request_id.

The following restrictions also apply: