IBM Support

IT34038: SQL ADMINISTRATION API FUNCTIONS - TASK WITH ONSTAT COMMAND'S -ROPTION FAILS

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

  • The SQL Administration API Functions - Task with onstat
    command's -r option, because the command will not return.
    It runs continuously in the server and locks the table
    sysadmin:command_history.
    
    The session with the command cannot be terminated with onmode
    -z. The only possibility is to restart the instance.
    
    
    Task execution with -r option: Here server keeps on generating
    output (text) but is not returned.
    
    
     echo " select sysadmin:task('onstat','-r')::lvarchar(32000) as
    txt from sysmaster:sysdual;" | six dbaccess sysadmin
    
    Database selected.
    
    ^C^Z
    [1]+  Stopped                 echo " select
    sysadmin:task('onstat','-r')::lvarchar(32000) as txt from
    sysmaster:sysdual;" | six dbaccess sysadmin
    
    
    
    Task execution without -r option:
    
    
    
    echo " select sysadmin:task('onstat','-')::lvarchar(32000) as
    txt from sysmaster:sysdual;" | six dbaccess sysadmin
    
    Database selected.
    
    
    
    
    txt
         IBM Informix Dynamic Server Version 14.10.FC3AEE -- On-Line
    -- Up 7 days 2
         0:49:12 -- 1246224 Kbytes
    
    
    
    1 row(s) retrieved.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 14.10.xC5.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to Informix Server 14.10.xC5.                         *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 14.10.xC5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34038

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-28

  • Closed date

    2020-12-07

  • Last modified date

    2020-12-07

  • 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

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E10"}]

Document Information

Modified date:
08 December 2020