Re: Accessing the wrong *.bld file when registering opaque types
Posted in 2004
It's really strange, because I cannot think why it would be looking for the
Exec Bladelet.
I cannot find any references to the Exec Bladelet (exec.bld) any where in
our code.
Does informix try to load the Exec Bladelet automatically for certain types
or something. Thing is we don't ever have this exec.bld file, but this
only seems to happen after an install.
It's really confusing.
Andrew H.
|---------+---------------------------->
| | "Obnoxio The |
| | Clown" |
| | <obnoxio@serendip|
| | ita.com> |
| | |
| | 04/06/2004 15:11 |
| | |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------------------------------------------|
| |
| To: "Andrew Hardy" <Andrew.Hardy@marconi.com> |
| cc: informix-list@iiug.org |
| Subject: Re: Accessing the wrong *.bld file when registering opaque types withan external name. |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Andrew Hardy said:
> This may not make perfect sense, as I am a novice in this area, but any
> help would be appreciated.
>
> I am executing the content of an .sql file which registers some opaque
> types with our datablade which is Asn.bld.
>
> The content of this .sql files is dynamic, but its command content is
used
> to register some opaque types giving them an external name in this
> fashion:
>
> create opaque type AsnOctetString(
> maxlen = 4096,
> alignment = 4
> );
>
> grant usage on type AsnOctetString to public;>
> --
>
---------------------------------------------------------------------------
> -- support for string based input and output
>
> create function AsnOctetString_output (AsnOctetString) returns lvarchar> external name '$DATABLADEDIR/Asn.bld(AsnOctetString_output)' language c;
>
> etc etc etc....
>
>
> substituting the $ variable for an appropriate path.
>
> For some reason on some occasions informix is searching for
> '...../exec.bld', but I cannot find any reference to 'exec.bld' in any of
> our code or sql files (commands to register opaque types).
It sounds like it's looking for the Exec Bladelet, which is downloadable
from the iiug.org website and ibm.com's developerworks....
> Is 'exec.bld' some kind of default or something, and maybe it is looking
> for that because we have provided an invalid path, or our Asn.bld does
not
> exist.
>
> Anmdrew H.
>
>
>
> sending to informix-list
>
--
Bye now,
Obnoxio
"C'est pas parce qu'on n'a rien ' dire qu'il faut fermer sa gueule"
- Coluche
"I'm trying to see things your way, but I can't get my head up my ass"
- JCH
"Ogni uomo mi guarda come se fossi una testa di cazzo"
- Marco
sending to informix-list