Page 1 of 1

problem with Passive plugin samples

Posted: Thu Sep 25, 2003 6:25 am
by jauthier
hi,
i generated passive.dll from plugin sample and when executing
i got this warning : C Stage PlugIn function "Put" required
I use MSVC 6.0 with all the option described in Plug-in Writer's Guide.
someone could help me ...

ps: registering of the plugin is OK and all the call to Txn--- functions seems to be ok (appears in log).

Posted: Thu Sep 25, 2003 4:26 pm
by ray.wurlod
Have you created a function that performs the "put" (= write to file) activity? Have you registered this via a discovery function, so that DataStage can map its generic "put" to the name of your function?

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518

Posted: Fri Sep 26, 2003 1:26 am
by jauthier
ray,
is the C source provided in the distribution disk not operational as is ?
In "passive.c" source file the Put function is implemented and registered trough DSCRuntimeDLLRegisterM() macro. Is this not sufficient ?

Posted: Fri Sep 26, 2003 4:39 am
by ray.wurlod
I can't say without checking. Haven't looked at the sample since release 3.x. Really busy at the moment, so this won't happen soon. Sorry.

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518