IBM Support

PK34874: DSNT408I SQLCODE=-331,ERROR: A STRING CANNOT BE ASSIGNED TO A HOST VARIABLE BECAUSE IT CANNOT BE TRANSLATED. REASON 12

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DSNT408I SQLCODE=-331,ERROR: A STRING CANNOT BE ASSIGNED TO A
    HOST VARIABLE BECAUSE IT CANNOT BE TRANSLATED. REASON 12
    occures if A.COL1 includes SI/SO on following statement.
      SELECT A.COL1 INTO COLX CHAR(nn) FROM TABLE A
    The following message issued if BMC UNLOAD PLUS is used:
    BMC50353I MIXED DATA COLUMN KSKB20 WILL NOT BE TRANSLATED
    ADDITIONAL SYMPTOMS:
    1. Graphic columns contain garbled ( garbage ) data in
       the output ( substitution character such as:
       x'3F3F3F or x'4F4F4F)
       ( PB 8570 )
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 High Performance Unload.        *
    ****************************************************************
    * PROBLEM DESCRIPTION: DSNT408I SQLCODE=-331,ERROR: A STRING   *
    *                      CANNOT BE ASSIGNED TO A HOST VARIABLE   *
    *                      BECAUSE IT CANNOT BE TRANSLATED.        *
    *                      REASON 12 occurs if A.COL1 includes     *
    *                      SI/SO on following statement:           *
    *                        SELECT A.COL1 INTO COLX CHAR(nn)      *
    *                       FROM TABLE A                           *
    *                      The following message issued if BMC     *
    *                       UNLOAD PLUS is used:                   *
    *                      BMC50353I MIXED DATA COLUMN KSKB20      *
    *                      WILL NOT BE TRANSLATED                  *
    *                      ADDITIONAL SYMPTOMS:                    *
    *                      1. Graphic columns contain garbled      *
    *                      ( garbage ) data in the output          *
    *                      ( substitution character such as:       *
    *                       x'3F3F3F or x'4F4F4F) ( PB 8570 )      *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Module inzctrlp was changed by changing the call to function
    inzcontrolCheckType(). This call was made too early, before the
    attribute mixed or graphic was set for the unloaded column. This
    call has been moved at the correct location.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK34874

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    220

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-11-17

  • Closed date

    2006-11-27

  • Last modified date

    2007-07-18

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

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

Modules/Macros

  •    INZUTILB
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R210 PSY UK20039

       UP06/12/16 P F612

  • R220 PSY UK20040

       UP06/12/16 P F612

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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAUUV","label":"IBM Db2 High Performance Unload for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"220","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021