suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT34038 Status: Closed

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

product:
INFORMIX SERVER / 5725A3900 / E10 - 
Problem 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.
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.                         *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC5.                 *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Update to Informix Server 14.10.xC5.                         *
****************************************************************
Comment
Fixed in Informix Server 14.10.xC5.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
28.08.2020
07.12.2020
07.12.2020
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download