IBM Support

PI21094: DFHWS2LS IS NOT PROCESSING DECIMAL TYPE FIELDS DEFINED BY ENUMERATED VALUES CORRECTLY.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DFHWS2LS is processing a WSDL with the following type of XML:
    <xs:element name="Time" minOccurs="0">
     <xs:simpleType>
      <xs:restriction base="xs:decimal">
       <xs:enumeration value="0.25"/>
       <xs:enumeration value="0.5"/>
       <xs:enumeration value="1"/>
       <xs:enumeration value="2"/>
       <xs:enumeration value="3"/>
       <xs:enumeration value="4"/>
       <xs:enumeration value="24"/>
      </xs:restriction>
     </xs:simpleType>
    </xs:element>
    This generates the following line of COBOL:
    09 Time           PIC S9(1)V9(2) COMP-3.
    This generated COBOL field for Time will not accommodate a
    value of "24" even though the WSDL defines it as being able to.
    The problem is DFHWS2LS works out the total digits required to
    hold the longest value which in this case is .25, so 3 digits.
    It then works out the highest number of decimal places used in
    any value which is 2 for .025. This gives a decimal field with
    3 total digits where 2 of them are decimal places.
    Additional Symptom(s) Search Keyword(s): KIXREVACC
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHWS2LS can not process decimal type   *
    *                      fields defined by enumerated values     *
    *                      correctly.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DFHWS2LS is being used to convert a WSDL file to a COBOL data
    structure. The WSDL contains a decimal field defined by
    specifying a list of enumerated values. To generate an
    appropriate COBOL data type for this field, DFHWS2LS needs to
    work out the total digits required to hold the longest value.
    While the way to calculate total digits is incorrect, which
    causes some valid enumerated values can not fit the generated
    COBOL structure.
    

Problem conclusion

  • DFHWS2LS has been changed to ensure all the enumerated values
    can be used in the generated language structure.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PI21094

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-30

  • Closed date

    2014-09-23

  • Last modified date

    2015-03-19

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

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

    UI21720 UI21721

Modules/Macros

  • DFJ@H176
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R80D PSY UI21720

       UP14/10/08 P F410

  • R90D PSY UI21721

       UP14/10/08 P F410

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.1","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.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 March 2015