IBM Support

PH26562: CICS: ICMEXCEPTION INTERNAL ERROR: OFFSET OF '-1' IS NOT ACCEPTABLE RUNNING DFHJS2LS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Running z/OS Connect EE and using the DFHJS2LS tool to generate
    the ws-bind files, processing of the ws-bind file throws the
    following error:
    com.ibm.cics.schema.ICMException: INTERNAL
    ERROR: Offset of '-1' is not acceptable.
    
    The z/OS Connect EE tooling takes as input a swagger document,
    splits it into a response and request schema and then calls the
    CICS Web Services assistant to generate the bind file. The z/OS
    Connect EE runtime then uses this WSBIND file to handle the
    request and response from a remote endpoint. However, for a
    large swagger document, the z/OS Connect EE tooling builds what
    appears to be a valid artifact but when attempting to deploy the
    artifact, the z/OS Connect server complains that
    "The bind file is invalid".
    
    The more meaningful error was: com.ibm.cics.schema.ICMException:
    INTERNAL ERROR: Offset of '-1' is not acceptable.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Using a WSBIND file install into CICS   *
    *                      fails with an internal error.           *
    ****************************************************************
    When an installed WSBIND file is used in CICS an internal error
    occurs with an ICMException and message:
    
    INTERNAL ERROR: Offset of '-1' is not acceptable
    
    The WSBIND was created by the webservice assistants with invalid
    offsets in a structure.  This was caused because a repeating
    array repeated too many times and the length wrapped causing
    negative values to be placed within the wsbind file.
    

Problem conclusion

  • Webservice Assistants have been updated to check the sizes of
    the array being processed to avoid invalid lengths.  This will
    result in message DFHPI9741 being output.
    
    CICS TS Knowledge Centers have been updated to add the following
    message description:
    
    DFHPI9741E The assistant attempted to process "element" array
    structure which was greater than "size" bytes.
    
    Explanation
    The assistant attempted to process an element that would have
    caused a structure to be larger than the allowed size. Such
    structures are unsupported.
    
    System Action
    The assistant ends.
    
    User Action
    Review the input for large reoccuring arrays.  The use of
    INLINE-MAXOCCURS-LIMIT could be used to limit the size of the
    structure.
    
    Modules
    DFHJS2LS, DFHSC2LS, DFHWS2LS
    
    Destination
    SYSPRINT
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH26562

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-06-17

  • Closed date

    2020-11-20

  • Last modified date

    2020-12-01

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

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

    UI72683

Modules/Macros

  • DFHMEPIC DFHMEPIE DFHMEPIK DFJ@H176
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R300 PSY UI72683

       UP20/11/21 P F011

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.

[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.6"}]

Document Information

Modified date:
02 December 2020