Re: Accessing the wrong *.bld file when registering opaque types
Posted in 2004
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(
> internallength = variable,
> 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