Re: Undocumented options of dbinfo
Posted in 2006
Hey, great idea. Should we call it "inline doc"? Thanks to Richard.
Reinhard
>
> # strings $INFORMIXDIR/bin/oninit | grep DBINFO
> DBINFO ('dbspace',
> DBINFO ('sqlca.sqlerrd1')
> DBINFO ('sqlca.sqlerrd2')
> DBINFO ('utc_to_datetime',
> DBINFO ('utc_current')
> DBINFO ('get_tz')
> DBINFO ('sessionid')
> DBINFO ('dbhostname')
> DBINFO ('version', 'server-type')
> DBINFO ('version', 'major')
> DBINFO ('version', 'minor')
> DBINFO ('version', 'os')
> DBINFO ('version', 'level')
> DBINFO ('version', 'full')>
> and
>
> # finderr 728
> -728 Unknown first argument of dbinfo(<argument>).
>
> Check that the first argument to dbinfo() is a quoted string that
> corresponds
> to one of the following values: 'dbspace', 'version',
> 'sqlca.sqlerrd1',
> 'sqlca.sqlerrd2', 'sessionid', 'coserverid', 'utc_to_datetime',
> 'utc_current', 'get_tz', or 'dbhostname'.
>
>
> -728 Unknown first argument of dbinfo argument-name.
>
> The valid arguments to the dbinfo() function are the quoted string
> 'dbspace' followed by the number of a valid tablespace, or one of the
> following two values: 'sqlca.sqlerrd1' or 'sqlca.sqlerrd2'. Check that
> you supplied one of these values and enclosed the string in quotes.
>
> --
> rh
>
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>