On 9 Nov 2005 04:19:25 -0800, Esteban Casuscelli <estebanc00@yahoo.com.ar>
wrote:
>
> If you want to know all the returning codes I would suggest you to open
> a case with IBM tech support to see whether the have a list with all
> the returning codes.
>
> But if you just want to check whether you operation worked then you
> have two ways to do it:
> 1) using onmonitor and look for databases and status and then you will
> see what is the logging mode for each db
>
> 2) quering the sysmaster db, I think the table was sysdatabases, ( it
> might have changed in newer versions ), there is a flag which tells you
> what is the logging mode for each db.
>
Feature request 151319 asks for 'RETURN CODES (EXIT STATUSES) OF ONCHECK,
ONSTAT AND OTHER UTILITIES SHOULD BE DOCUMENTED, AND SHOULD BE CONSISTENT
ACROSS RELEASES.
ON-DBLog would com under 'other utilities'.
--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
sending to informix-list