IBM Support

RS02577: MYSQL DECISION SERVER SCRIPT FOR DECISION RUNNER NEEDS TO UPDATE PARAMETERS COLUMN TO LONGBLOB

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running ODM on MySQL
    [11/16/16 14:01:50:772 EST] 00000086 sql           W   An error
    occurred when executing the SQL query.
    com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too
    long for column 'parameters' at row 1
    Based on the scripts in the execution server directory,
    CREATE TABLE IF NOT EXISTS EXECUTIONINSTANCEDATA(
    jobexecid BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT,
    jobinstanceid BIGINT,
    createtime TIMESTAMP,
    starttime TIMESTAMP,
    endtime TIMESTAMP,
    updatetime TIMESTAMP,
    parameters BLOB,
    batchstatus VARCHAR(512),
    exitstatus VARCHAR(512),
    CONSTRAINT JOBINST_JOBEXEC_FK FOREIGN KEY (jobinstanceid)
    REFERENCES JOBINSTANCEDATA (jobinstanceid)
    )ENGINE=InnoDB;
    Which based on the MySQL documentation is a 16 bit size (65k)
    as opposed to LONGBLOB which would be 32 bits (4GB)
    

Local fix

  • Since the columns for Oracle, DB2 and SQL Server are all
    defined with columns that can be more than 1GB, would it make
    sense to have the client change the type to LONGBLOB.
    You can update the script to use a longblob instead.
    

Problem summary

  • The table for decisionrunner can use data with a size more than
    65k which is too small for a BLOB. The decisionrunner mysql
    scrit needed to be updated  to use a LONGBLOB instead.
    

Problem conclusion

  • The code is fixed.
    

Temporary fix

  • Change the type manually from decisionrunner mysql script.
    

Comments

APAR Information

  • APAR number

    RS02577

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    881

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-01

  • Closed date

    2017-01-27

  • Last modified date

    2017-01-27

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

  • R881 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"881","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 February 2022