IBM Support

PH02732: DFHJS2LS TRUNCATES LONG FIELD NAMES CAUSING INVALID COBOL STRUCTURES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DFHJS2LS does not handle  long field names (30 bytes or longer)
    correctly.  It truncates the field, causing it to generate
    invalid Cobol field names.
    Additional Symptom(s) Search Keyword(s): KIXREVxxx
    JSON HYPHEN - z/OS Connect build toolkit utilises the JS2LS
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHJS2LS is run to convert a JSON       *
    *                      schema to a language structure. A Cobol *
    *                      field name ends with hyphen.            *
    ****************************************************************
    DFHJS2LS is run to convert a JSON schema to a language
    structure. A field name in JSON schema is truncated because the
    length of the field name exceeds the maximum allowed by Cobol.
    The name contains a hyphen which after truncation is now the
    final character.  Cobol field names are not allowed to end with
    a hyphen so the generated language structure is invalid.
    The same problem can occur with DFHWS2LS and DFHSC2LS.
    

Problem conclusion

  • The web service assistants have been modified so that a hyphen
    at the end of a Cobol field name will be replaced by an 'X'.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH02732

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-12

  • Closed date

    2018-11-05

  • Last modified date

    2018-12-12

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI59508

Modules/Macros

  • DFJ@H176
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R10D PSY UI59508

       UP18/11/07 P F811

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.4","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.4","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
12 December 2018