IBM Support

IT29092: BSON_OBJECT_TO_JSON - ERROR=-1263 FOR DATETIMES BEFORE 1969

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • select
    --'1968-12-31 13:00:00.00000' -- causing bson_object_to_json -
    error=-1263 in below ::json cast
      '1968-12-31 23:59:59.00000' -- causing bson_object_to_json -
    error=-1263 in below ::json cast
    --'1969-01-01 00:00:00.00000' -- working from here on
    --'1969-12-31 23:59:59.00000'
    --'1969-12-31 23:59:59.99999'
    --'1970-01-01 00:00:00.00000'
    ::DATETIME YEAR TO FRACTION(5) as dtyf5 from sysmaster:sysdual
    into dtyf_tab;
    1 row(s) retrieved into table.
    
    select genbson(dtyf_tab,0,0) as data from dtyf_tab into
    bson_tab;
    1 row(s) retrieved into table.
    
    select data::json from bson_tab;
    
    (U0001) - json_output: bson_object_to_json - error=-1263
    Error in line 12
    Near character position 31
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of IDS 12.10.xC13 and older versions.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * bson_object_to_json - error=-1263  for datetimes before 1969 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in IDS 12.10.xC14.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT29092

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-05-10

  • Closed date

    2019-09-20

  • Last modified date

    2020-02-19

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

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

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 February 2020