IBM Support

PI82635: DFHWS2LS UTILITY FAILS WITH JAVA.NIO.CHARSET.ILLEGALCHARSETNAMEEXCEPTION IN CICS TS 5.3

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Although working successfully in CICS TS 5.1, the DFHWS2LS
    utility encounters an error in CICS TS 5.3, with the following
    java messages:
    
    java.nio.charset.IllegalCharsetNameException:
      at java.nio.charset.Charset.checkName(Charset.java:xxx)
      at java.nio.charset.Charset.lookup2(Charset.java:xxx)
      at java.nio.charset.Charset.lookup(Charset.java:xxx)
      at java.nio.charset.Charset.forName(Charset.java:xxx)
      at com.ibm.cics.wsdl.ws2ls.LangStructManager.
              buildWSDLLangStructs(LangStructManager.java:xxx)
      at com.ibm.cics.wsdl.ws2ls.ws2ls.doAssistantSpecificProcess
              ing(ws2ls.java:xxx)
      at com.ibm.cics.wsdl.common.GenericSetup.commonExecute
              (GenericSetup.java:xxx)
      at com.ibm.cics.wsdl.ws2ls.ws2ls.run(ws2ls.java:xxx)
      at com.ibm.cics.wsdl.ws2ls.ws2ls.main(ws2ls.java:xxx)
    
    These java messages are augmented with the following error
    messages:
    
    DFHPI9500E An internal error has occurred. Please contact IBM
      Support.
    DFHPI9558E ERRORS have been generated processing file
      "/my_directory_path/myfile.wsdl".
    
    At CICS TS 5.3, the value of the PDSCP parameter is used by the
    DFHWS2LS utility to create a Charset.  The code checks that the
    PDSCP parameter is provided, but doesn't check whether a value
    was specified, causing the exception.
    

Local fix

  • Remove the PDSCP= line from the DFHWS2LS parameters to prevent
    this error. Alternatively, specify a non-null value, even if
    the default of CP037 is required.
    KIXREVXXX
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHWS2LS failed when the parameter      *
    *                      PDSCP set with value of empty string    *
    ****************************************************************
    * RECOMMENDATION: .                                            *
    ****************************************************************
    When using DFHWS2LS for WSDL to high-level language
    conversion, the parameter PDSCP was set with value of empty
    string in the JCL, like "PDSCP=". DFHWS2LS failed with the
    error messages in the LOGFILE as follows.
    
    java.nio.charset.IllegalCharsetNameException
    and then message
    DFHPI9500E An internal error has occurred. Please contact IBM
    Support.
    
    The similar result for DFHJS2LS and DFHSC2LS with "PDSCP=" set
    in the JCL.
    

Problem conclusion

  • The WebServices Assistants have been changed to tolerate when
    the PDSCP parameter is set without a value.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI82635

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    00D

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-06

  • Closed date

    2017-08-28

  • Last modified date

    2017-09-02

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

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

    UI49878 UI49879

Modules/Macros

  • DFJ@H176
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R00D PSY UI49878

       UP17/08/31 P F708

  • R10D PSY UI49879

       UP17/08/31 P F708

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

Document Information

Modified date:
02 September 2017