IBM Support

PK40173: ABENDAEXZ DURING CONVERT_FORM FOR ASCII TO EBCDIC CONVERSION.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You are running CICS/TS and receive an ABENDAEXZ in your
    user application.  The trace at the time of failure shows an
    exception trace entry for a FORMFIELD_STRUCT_FORM_ERR.
    This occurs when DFHCCNV attempts to convert the data.  You see:
    AP 4801 CCNV  EXIT  - FUNCTION(CONVERT_FORM) RESPONSE(DISASTER)
    REASON() DATA_TO_CONVERT(11A20918 , 00000000 , 00003AA9)
    CONVERSION_BUFFER(12C61000, 00000000, 0003ABD)
    later followed by:
    WB 0314 WBAPF *EXC* - FORMFIELD_STRUCT_FORM_ERR
    The problem is caused by unusual data at the end of the file
    being uploaded. This file has a solitary carriage return without
    the accompanying line feed.  DFHCCNV4 currently expects to
    process CRLF and in its current processing, it accidently bumped
    past the end of file delimiter x'0D'.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: ABENDAEXZ on EXEC CICS WEB READ         *
    *                      FORMFIELD where forms data contains     *
    *                      an uploaded file.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A CICS Web application receives an abend AEXZ when issuing EXEC
    CICS WEB READ FORMFIELD (or EXEC CICS WEB STARTBROWSE
    FORMFIELD). The forms data received from the browser is
    multipart/form-data and contains an uploaded file.
    A call is made to DFHCCNV4 for function CONVERT_FORM to convert
    the forms data from ASCII to EBCDIC before the selected field is
    returned to the application. When DFHCCNV4 encounters the
    uploaded file, it attempts to locate the end of file marker
    which is an ASCII x'0D0A' (carriage return/line feed) followed
    by the ASCII form boundary.
    DFHCCNV4 uses TRT to locate byte values of x'0D'. It then checks
    if the X'0D' is the start of the end of file marker. If it isn't
    the code skips on by 2 bytes before re-issuing the TRT (assuming
    that the X'0D' is the start of a x'0D0A' sequence).
    However, the customer's dump contained a solitary X'0D' just
    ahead of the X'0D0A' which started the end-of-file marker.
    When this was encountered, DFHCCNV4 skipped 2 bytes which went
    beyond the start of the marker. Consequently, DFHCCNV4 failed
    to locate the end-of-file marker and returned a DISASTER
    response to its caller. This leads to the ABENDAEXZ.
    
    ADDITIONAL KEYWORDS :- ABENDAWBM AWBM
    

Problem conclusion

  • DFHCCNV4 routine convert_multipart_form has been changed so that
    it only skips a single byte if it locates a solitary X'0D' as
    part of the content of an uploaded file.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PK40173

  • Reported component name

    CICSTS FOR VSE

  • Reported component ID

    564805400

  • Reported release

    B0P

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-02-27

  • Closed date

    2007-09-17

  • Last modified date

    2008-05-19

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

    PQ91333

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

    UK29268

Modules/Macros

  •    DFHCCNV  DFHCCNV4
    

Fix information

  • Fixed component name

    CICSTS FOR VSE

  • Fixed component ID

    564805400

Applicable component levels

  • RB0P PSY UK29268

       UP07/10/01 P E412

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":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.1.1","Edition":""}]

Document Information

Modified date:
19 May 2008