problem with Passive plugin samples

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
jauthier
Participant
Posts: 5
Joined: Thu Jun 19, 2003 8:20 am

problem with Passive plugin samples

Post 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).
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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
jauthier
Participant
Posts: 5
Joined: Thu Jun 19, 2003 8:20 am

Post 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 ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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
Post Reply